Skip to content

Commit 64e53a5

Browse files
typo (extra trailing colon ':') in asynchronous-tests.md, ln 22, causing compilation error for code snippet (#2198)
1 parent 1edd43a commit 64e53a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/src/wasm-bindgen-test/asynchronous-tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async fn my_async_test() {
1919
let promise = js_sys::Promise::resolve(&JsValue::from(42));
2020

2121
// Convert that promise into a future and make the test wait on it.
22-
let x = JsFuture::from(promise).await.unwrap();:
22+
let x = JsFuture::from(promise).await.unwrap();
2323
assert_eq!(x, 42);
2424
}
2525
```

0 commit comments

Comments
 (0)