Skip to content

Commit 53842bd

Browse files
authored
Merge pull request #2760 from barabadzhi/patch-1
Fix typo
2 parents 356cb57 + 447f721 commit 53842bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/2394-async_await.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ evaluating any of the body (just like an async function).
107107
```rust
108108
fn main() {
109109
let closure = async || {
110-
println("Hello from async closure.");
110+
println!("Hello from async closure.");
111111
};
112112
println!("Hello from main");
113113
let future = closure();

0 commit comments

Comments
 (0)