We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1ababac + b258215 commit beb8d24Copy full SHA for beb8d24
docs/src/patterns/accept-loop.md
@@ -90,7 +90,7 @@ the connection to the protocol handler, like this:
90
# let mut incoming = listener.incoming();
91
while let Some(stream) = incoming.next().await {
92
task::spawn(async {
93
- task:sleep(Duration::from_secs(10)).await; // 1
+ task::sleep(Duration::from_secs(10)).await; // 1
94
connection_loop(stream).await;
95
});
96
}
0 commit comments