Skip to content

Commit c724516

Browse files
Kajiihwillcrichton
authored andcommitted
Fix #287: Add missing "when"
1 parent 96c65b6 commit c724516

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

quizzes/async-05-traits-for-async.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ async fn example(x: i32) -> i32 {
5858
"""
5959
context = """
6060
The core problem addressed by pinning in self-reference, or a future which contains a pointer to itself.
61-
This happens an async block contains a local variable that refers to another local variable in the future.
61+
This happens when an async block contains a local variable that refers to another local variable in the future.
6262
Here, that would be `y = &x`.
6363
"""
64-
id = "bc8b4acb-d111-4fec-b89a-e5d1bc77c8f2"
64+
id = "bc8b4acb-d111-4fec-b89a-e5d1bc77c8f2"

0 commit comments

Comments
 (0)