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 b91be89 commit af124ecCopy full SHA for af124ec
ch07/c-async-await/original_main.rs
@@ -6,7 +6,7 @@ mod future;
6
use future::*;
7
use crate::http::Http;
8
9
-coro fn request(i: usize) {
+coroutine fn request(i: usize) {
10
let path = format!("/{}/HelloWorld{i}", i * 1000);
11
let txt = Http::get(&path).wait;
12
println!("{txt}");
0 commit comments