@@ -164,8 +164,7 @@ impl FromStr for bool {
164
164
/// assert!(<bool as FromStr>::from_str("not even a boolean").is_err());
165
165
/// ```
166
166
///
167
- /// Note, in many cases, the StrExt::parse() which is based on
168
- /// this FromStr::from_str() is more proper.
167
+ /// Note, in many cases, the `.parse()` method on `str` is more proper.
169
168
///
170
169
/// ```
171
170
/// assert_eq!("true".parse(), Ok(true));
@@ -530,7 +529,7 @@ impl<'a> DoubleEndedIterator for CharIndices<'a> {
530
529
/// External iterator for a string's bytes.
531
530
/// Use with the `std::iter` module.
532
531
///
533
- /// Created with `StrExt ::bytes`
532
+ /// Created with `str ::bytes`
534
533
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
535
534
#[ derive( Clone ) ]
536
535
pub struct Bytes < ' a > ( Map < slice:: Iter < ' a , u8 > , BytesDeref > ) ;
@@ -1461,27 +1460,27 @@ impl<'a, S: ?Sized> Str for &'a S where S: Str {
1461
1460
fn as_slice ( & self ) -> & str { Str :: as_slice ( * self ) }
1462
1461
}
1463
1462
1464
- /// Return type of `StrExt ::split`
1463
+ /// Return type of `str ::split`
1465
1464
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1466
1465
pub struct Split < ' a , P : Pattern < ' a > > ( CharSplits < ' a , P > ) ;
1467
1466
delegate_iter ! { pattern & ' a str : Split <' a, P >}
1468
1467
1469
- /// Return type of `StrExt ::split_terminator`
1468
+ /// Return type of `str ::split_terminator`
1470
1469
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1471
1470
pub struct SplitTerminator < ' a , P : Pattern < ' a > > ( CharSplits < ' a , P > ) ;
1472
1471
delegate_iter ! { pattern & ' a str : SplitTerminator <' a, P >}
1473
1472
1474
- /// Return type of `StrExt ::splitn`
1473
+ /// Return type of `str ::splitn`
1475
1474
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1476
1475
pub struct SplitN < ' a , P : Pattern < ' a > > ( CharSplitsN < ' a , P > ) ;
1477
1476
delegate_iter ! { pattern forward & ' a str : SplitN <' a, P >}
1478
1477
1479
- /// Return type of `StrExt ::rsplit`
1478
+ /// Return type of `str ::rsplit`
1480
1479
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1481
1480
pub struct RSplit < ' a , P : Pattern < ' a > > ( RCharSplits < ' a , P > ) ;
1482
1481
delegate_iter ! { pattern reverse & ' a str : RSplit <' a, P >}
1483
1482
1484
- /// Return type of `StrExt ::rsplitn`
1483
+ /// Return type of `str ::rsplitn`
1485
1484
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1486
1485
pub struct RSplitN < ' a , P : Pattern < ' a > > ( RCharSplitsN < ' a , P > ) ;
1487
1486
delegate_iter ! { pattern reverse & ' a str : RSplitN <' a, P >}
0 commit comments