We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfb4b9c commit e2cc747Copy full SHA for e2cc747
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