@@ -418,7 +418,7 @@ impl fmt::Debug for Stdin {
418
418
}
419
419
420
420
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
421
- #[ doc( notable_trait ) ]
421
+ #[ cfg_attr ( not ( bootstrap ) , doc( notable ) ) ]
422
422
impl Read for Stdin {
423
423
fn read ( & mut self , buf : & mut [ u8 ] ) -> io:: Result < usize > {
424
424
self . lock ( ) . read ( buf)
@@ -453,7 +453,7 @@ impl StdinLock<'_> {
453
453
}
454
454
455
455
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
456
- #[ doc( notable_trait ) ]
456
+ #[ cfg_attr ( not ( bootstrap ) , doc( notable ) ) ]
457
457
impl Read for StdinLock < ' _ > {
458
458
fn read ( & mut self , buf : & mut [ u8 ] ) -> io:: Result < usize > {
459
459
self . inner . read ( buf)
@@ -679,7 +679,7 @@ impl fmt::Debug for Stdout {
679
679
}
680
680
681
681
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
682
- #[ doc( notable_trait ) ]
682
+ #[ cfg_attr ( not ( bootstrap ) , doc( notable ) ) ]
683
683
impl Write for Stdout {
684
684
fn write ( & mut self , buf : & [ u8 ] ) -> io:: Result < usize > {
685
685
( & * self ) . write ( buf)
@@ -706,7 +706,7 @@ impl Write for Stdout {
706
706
}
707
707
708
708
#[ stable( feature = "write_mt" , since = "1.48.0" ) ]
709
- #[ doc( notable_trait ) ]
709
+ #[ cfg_attr ( not ( bootstrap ) , doc( notable ) ) ]
710
710
impl Write for & Stdout {
711
711
fn write ( & mut self , buf : & [ u8 ] ) -> io:: Result < usize > {
712
712
self . lock ( ) . write ( buf)
@@ -733,7 +733,7 @@ impl Write for &Stdout {
733
733
}
734
734
735
735
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
736
- #[ doc( notable_trait ) ]
736
+ #[ cfg_attr ( not ( bootstrap ) , doc( notable ) ) ]
737
737
impl Write for StdoutLock < ' _ > {
738
738
fn write ( & mut self , buf : & [ u8 ] ) -> io:: Result < usize > {
739
739
self . inner . borrow_mut ( ) . write ( buf)
@@ -902,7 +902,7 @@ impl fmt::Debug for Stderr {
902
902
}
903
903
904
904
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
905
- #[ doc( notable_trait ) ]
905
+ #[ cfg_attr ( not ( bootstrap ) , doc( notable ) ) ]
906
906
impl Write for Stderr {
907
907
fn write ( & mut self , buf : & [ u8 ] ) -> io:: Result < usize > {
908
908
( & * self ) . write ( buf)
@@ -929,7 +929,7 @@ impl Write for Stderr {
929
929
}
930
930
931
931
#[ stable( feature = "write_mt" , since = "1.48.0" ) ]
932
- #[ doc( notable_trait ) ]
932
+ #[ cfg_attr ( not ( bootstrap ) , doc( notable ) ) ]
933
933
impl Write for & Stderr {
934
934
fn write ( & mut self , buf : & [ u8 ] ) -> io:: Result < usize > {
935
935
self . lock ( ) . write ( buf)
@@ -956,7 +956,7 @@ impl Write for &Stderr {
956
956
}
957
957
958
958
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
959
- #[ doc( notable_trait ) ]
959
+ #[ cfg_attr ( not ( bootstrap ) , doc( notable ) ) ]
960
960
impl Write for StderrLock < ' _ > {
961
961
fn write ( & mut self , buf : & [ u8 ] ) -> io:: Result < usize > {
962
962
self . inner . borrow_mut ( ) . write ( buf)
0 commit comments