We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1edd43a commit 64e53a5Copy full SHA for 64e53a5
guide/src/wasm-bindgen-test/asynchronous-tests.md
@@ -19,7 +19,7 @@ async fn my_async_test() {
19
let promise = js_sys::Promise::resolve(&JsValue::from(42));
20
21
// Convert that promise into a future and make the test wait on it.
22
- let x = JsFuture::from(promise).await.unwrap();:
+ let x = JsFuture::from(promise).await.unwrap();
23
assert_eq!(x, 42);
24
}
25
```
0 commit comments