Commit e0dae8e
authored
Update docs for the Rust-generated wasm function
The documentation is out of date. It says that there should be a `run()` function, but really a `main_js()` function should be there.
However, the `rust-webpack-template` doesn't add the `then()` statement to the import in the template.
I have created [a pull request](rustwasm/rust-webpack-template#172) to add this to the template, and I have updated the docs for this newer version here.1 parent 9f9634c commit e0dae8e
File tree
1 file changed
+6
-4
lines changed- docs/src/tutorials/hybrid-applications-with-webpack
1 file changed
+6
-4
lines changedLines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
0 commit comments