File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6464 run : cargo fmt --all -- --check
6565
6666 - name : Docs
67- run : cargo doc --features docs,unstable
67+ run : cargo doc --features docs
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ matrix:
5050 rust : nightly
5151 os : linux
5252 script :
53- - cargo doc --features docs,unstable
53+ - cargo doc --features docs
5454
5555 - name : book
5656 rust : nightly
Original file line number Diff line number Diff line change @@ -111,13 +111,13 @@ git clone git@github.com:async-rs/async-std.git && cd async-std
111111Generate docs:
112112
113113```
114- cargo doc --features docs.rs --open
114+ cargo +nightly doc --features docs --open
115115```
116116
117117Check out the [ examples] ( examples ) . To run an example:
118118
119119```
120- cargo run --example hello-world
120+ cargo +nightly run --example hello-world
121121```
122122
123123## Contributing
Original file line number Diff line number Diff line change 2525#[ doc( inline) ]
2626pub use std:: task:: { Context , Poll , Waker } ;
2727
28- #[ cfg( feature = "unstable" ) ]
28+ #[ cfg( any ( feature = "unstable" , feature = "docs" ) ) ]
2929#[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
3030#[ doc( inline) ]
3131pub use async_macros:: ready;
You can’t perform that action at this time.
0 commit comments