File tree Expand file tree Collapse file tree 8 files changed +6
-42
lines changed Expand file tree Collapse file tree 8 files changed +6
-42
lines changed Original file line number Diff line number Diff line change 3131 fail-fast : false
3232 matrix :
3333 component :
34- - clippy
3534 - rustfmt
3635 steps :
3736 - uses : actions/checkout@master
4140 - name : Install component
4241 shell : bash
4342 run : rustup component add ${{ matrix.component }}
44- - name : cargo clippy
45- if : matrix.component == 'clippy'
46- run : cargo clippy --all-features
4743 - name : cargo fmt
4844 if : matrix.component == 'rustfmt'
4945 run : cargo fmt -- --check
Original file line number Diff line number Diff line change 11/target /
22** /* .rs.bk
33Cargo.lock
4+ .idea
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22//!
33//! # Examples
44//!
5- //! ```
5+ //! ```no_run
6+ //! # #[async_std::main]
7+ //! # async fn main() {
68//! use std::time::Duration;
79//! use futures_timer::Delay;
810//! use futures::executor::block_on;
911//!
10- //! let now = block_on( Delay::new(Duration::from_secs(3))) ;
12+ //! let now = Delay::new(Duration::from_secs(3)).await ;
1113//! println!("waited for 3 secs");
14+ //! # }
1215//! ```
1316
1417#![ deny( missing_docs) ]
You can’t perform that action at this time.
0 commit comments