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 6957e04 commit 0f396afCopy full SHA for 0f396af
examples/06_04_spawning/src/lib.rs
@@ -20,14 +20,4 @@ async fn main() {
20
task::spawn(async move {process_request(&mut stream).await});
21
}
22
23
-// ANCHOR_END: example
24
-
25
-#[cfg(test)]
26
-mod tests {
27
- use super::*;
28
29
- #[async_std::test]
30
- async fn run_example() {
31
- main().await
32
- }
33
-}
+// ANCHOR_END: example
0 commit comments