Skip to content

Commit

Permalink
time: fix test-util requirement for pause and resume in docs (tokio-r…
Browse files Browse the repository at this point in the history
  • Loading branch information
jainl28patel committed Apr 21, 2024
1 parent 2438b43 commit 1961890
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tokio/src/time/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@

mod clock;
pub(crate) use self::clock::Clock;
#[cfg(feature = "test-util")]
pub use clock::{advance, pause, resume};
cfg_test_util! {
pub use clock::{advance, pause, resume};
}

pub mod error;

Expand Down

0 comments on commit 1961890

Please sign in to comment.