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};
2121/// [`Vec`]: https://doc.rust-lang.org/std/vec/struct.Vec.html
2222/// [bytes]: https://doc.rust-lang.org/std/primitive.slice.html
2323/// [`File`]: struct.File.html
24- #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
2524#[ derive( Clone , Debug , Default ) ]
2625pub struct Cursor < T > {
2726 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 _;
2121pub use crate :: io:: Seek as _;
2222#[ doc( no_inline) ]
2323pub use crate :: io:: Write as _;
24- #[ doc( hidden ) ]
24+ #[ doc( no_inline ) ]
2525pub use crate :: stream:: Stream ;
2626#[ doc( no_inline) ]
2727pub use crate :: task_local;
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ impl Barrier {
157157 drop ( lock) ;
158158
159159 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" ) ;
161161 generation_id = g;
162162 count = c;
163163 }
You can’t perform that action at this time.
0 commit comments