Skip to content

Commit

Permalink
decouple doc-tests from timing
Browse files Browse the repository at this point in the history
  • Loading branch information
SparkyPotato committed Mar 15, 2023
1 parent dd3a5e9 commit fd2b09e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tokio/src/runtime/task/join.rs
Expand Up @@ -184,6 +184,7 @@ impl<T> JoinHandle<T> {
///
/// #[tokio::main]
/// async fn main() {
/// # tokio::time::pause();
/// let mut handles = Vec::new();
///
/// handles.push(tokio::spawn(async {
Expand Down Expand Up @@ -262,6 +263,7 @@ impl<T> JoinHandle<T> {
///
/// #[tokio::main]
/// async fn main() {
/// # tokio::time::pause();
/// let mut handles = Vec::new();
///
/// handles.push(tokio::spawn(async {
Expand Down

0 comments on commit fd2b09e

Please sign in to comment.