Skip to content

Commit

Permalink
rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
loongs-zhang committed Feb 21, 2024
1 parent 4df24fd commit 553720e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions monoio/src/time/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,13 @@
//! seconds.
//!
//! ```
//! #[cfg(windows)]
//! fn main() {}
//!
//! #[cfg(unix)]
//! use monoio::time;
//!
//! #[cfg(unix)]
//! async fn task_that_takes_a_second() {
//! println!("hello");
//! time::sleep(time::Duration::from_secs(1)).await
//! }
//!
//! #[cfg(unix)]
//! #[monoio::main(timer_enabled = true)]
//! async fn main() {
//! let mut interval = time::interval(time::Duration::from_secs(2));
Expand Down

0 comments on commit 553720e

Please sign in to comment.