Skip to content

Commit bcf9c0d

Browse files
committed
1 parent 610dddc commit bcf9c0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ch07/c-async-await/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ coroutine fn request(i: usize) {
1212
println!("{txt}");
1313
}
1414

15-
future fn async_main() {
15+
coroutine fn async_main() {
1616
println!("Program starting");
1717
let mut futures = vec![];
1818

0 commit comments

Comments
 (0)