Skip to content

Commit

Permalink
Merge pull request #52 from async-rs/disable-clippy
Browse files Browse the repository at this point in the history
Disable clippy & cleanup
  • Loading branch information
yoshuawuyts committed Jan 27, 2020
2 parents 799ed3b + aa7d2bc commit 2d08c46
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 42 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
fail-fast: false
matrix:
component:
- clippy
- rustfmt
steps:
- uses: actions/checkout@master
Expand All @@ -41,9 +40,6 @@ jobs:
- name: Install component
shell: bash
run: rustup component add ${{ matrix.component }}
- name: cargo clippy
if: matrix.component == 'clippy'
run: cargo clippy --all-features
- name: cargo fmt
if: matrix.component == 'rustfmt'
run: cargo fmt -- --check
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/target/
**/*.rs.bk
Cargo.lock
.idea
2 changes: 0 additions & 2 deletions .idea/.gitignore

This file was deleted.

14 changes: 0 additions & 14 deletions .idea/futures-timer.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

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

#![deny(missing_docs)]
Expand Down

0 comments on commit 2d08c46

Please sign in to comment.