Skip to content

Commit

Permalink
fix clippy, nitpicks
Browse files Browse the repository at this point in the history
  • Loading branch information
expenses committed Jan 27, 2020
1 parent 4cf9125 commit ef8a441
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ futures = "0.3.1"

[features]
wasm-bindgen = [
"gloo-timers",
"send_wrapper"
"gloo-timers",
"send_wrapper"
]
8 changes: 3 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
//!
//! # Examples
//!
//! ```no_run
//! # #[async_std::main]
//! # async fn main() {
//! ```
//! use std::time::Duration;
//! use futures_timer::Delay;
//! use futures::executor::block_on;
//!
//! let now = Delay::new(Duration::from_secs(3)).await;
//! let now = block_on(Delay::new(Duration::from_secs(3)));
//! println!("waited for 3 secs");
//! # }
//! ```

#![deny(missing_docs)]
Expand Down

0 comments on commit ef8a441

Please sign in to comment.