File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ use crate::task::{Context, Poll};
21
21
/// [`Vec`]: https://doc.rust-lang.org/std/vec/struct.Vec.html
22
22
/// [bytes]: https://doc.rust-lang.org/std/primitive.slice.html
23
23
/// [`File`]: struct.File.html
24
- #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
25
24
#[ derive( Clone , Debug , Default ) ]
26
25
pub struct Cursor < T > {
27
26
inner : std:: io:: Cursor < T > ,
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ pub use crate::io::Read as _;
21
21
pub use crate :: io:: Seek as _;
22
22
#[ doc( no_inline) ]
23
23
pub use crate :: io:: Write as _;
24
- #[ doc( hidden ) ]
24
+ #[ doc( no_inline ) ]
25
25
pub use crate :: stream:: Stream ;
26
26
#[ doc( no_inline) ]
27
27
pub use crate :: task_local;
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ impl Barrier {
157
157
drop ( lock) ;
158
158
159
159
while local_gen == generation_id && count < self . n {
160
- let ( g, c) = wait. recv ( ) . await . expect ( "sender hasn not been closed" ) ;
160
+ let ( g, c) = wait. recv ( ) . await . expect ( "sender has not been closed" ) ;
161
161
generation_id = g;
162
162
count = c;
163
163
}
You can’t perform that action at this time.
0 commit comments