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 64
64
run : cargo fmt --all -- --check
65
65
66
66
- 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:
50
50
rust : nightly
51
51
os : linux
52
52
script :
53
- - cargo doc --features docs,unstable
53
+ - cargo doc --features docs
54
54
55
55
- name : book
56
56
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
111
111
Generate docs:
112
112
113
113
```
114
- cargo doc --features docs.rs --open
114
+ cargo +nightly doc --features docs --open
115
115
```
116
116
117
117
Check out the [ examples] ( examples ) . To run an example:
118
118
119
119
```
120
- cargo run --example hello-world
120
+ cargo +nightly run --example hello-world
121
121
```
122
122
123
123
## Contributing
Original file line number Diff line number Diff line change 25
25
#[ doc( inline) ]
26
26
pub use std:: task:: { Context , Poll , Waker } ;
27
27
28
- #[ cfg( feature = "unstable" ) ]
28
+ #[ cfg( any ( feature = "unstable" , feature = "docs" ) ) ]
29
29
#[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
30
30
#[ doc( inline) ]
31
31
pub use async_macros:: ready;
You can’t perform that action at this time.
0 commit comments