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 a50f5dc commit 11c386bCopy full SHA for 11c386b
futures-test/src/future/mod.rs
@@ -68,6 +68,7 @@ pub trait FutureTestExt: Future {
68
///
69
/// assert_eq!(rx.await, Ok(5));
70
/// # });
71
+ /// # std::thread::sleep(std::time::Duration::from_secs(1)); // wait for background threads closed
72
/// ```
73
fn run_in_background(self)
74
where
0 commit comments