Skip to content

Commit fb2c8f3

Browse files
author
Ulrik Sverdrup
committed
---
yaml --- r: 194424 b: refs/heads/tmp c: 00e14f1 h: refs/heads/master v: v3
1 parent acff4ad commit fb2c8f3

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: a3b13610c5b93d9ada072471a001a5613df6a960
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37-
refs/heads/tmp: 227d30414ca88aad644ea4fde2c33852b1fd6ad9
37+
refs/heads/tmp: 00e14f16225fcf529b6d8a20c4c000d803064ec8
3838
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3939
refs/tags/homu-tmp: 28a0b25f424090255966273994748a9f9901059f
4040
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412

branches/tmp/src/libcollections/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
//! are owned elsewhere.
2020
//!
2121
//! Basic operations are implemented directly by the compiler, but more advanced
22-
//! operations are defined on the [`StrExt`](trait.StrExt.html) trait.
22+
//! operations are defined as methods on the `str` type.
2323
//!
2424
//! # Examples
2525
//!

branches/tmp/src/libcore/str/mod.rs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,7 @@ impl FromStr for bool {
164164
/// assert!(<bool as FromStr>::from_str("not even a boolean").is_err());
165165
/// ```
166166
///
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.
169168
///
170169
/// ```
171170
/// assert_eq!("true".parse(), Ok(true));
@@ -530,7 +529,7 @@ impl<'a> DoubleEndedIterator for CharIndices<'a> {
530529
/// External iterator for a string's bytes.
531530
/// Use with the `std::iter` module.
532531
///
533-
/// Created with `StrExt::bytes`
532+
/// Created with `str::bytes`
534533
#[stable(feature = "rust1", since = "1.0.0")]
535534
#[derive(Clone)]
536535
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 {
14611460
fn as_slice(&self) -> &str { Str::as_slice(*self) }
14621461
}
14631462

1464-
/// Return type of `StrExt::split`
1463+
/// Return type of `str::split`
14651464
#[stable(feature = "rust1", since = "1.0.0")]
14661465
pub struct Split<'a, P: Pattern<'a>>(CharSplits<'a, P>);
14671466
delegate_iter!{pattern &'a str : Split<'a, P>}
14681467

1469-
/// Return type of `StrExt::split_terminator`
1468+
/// Return type of `str::split_terminator`
14701469
#[stable(feature = "rust1", since = "1.0.0")]
14711470
pub struct SplitTerminator<'a, P: Pattern<'a>>(CharSplits<'a, P>);
14721471
delegate_iter!{pattern &'a str : SplitTerminator<'a, P>}
14731472

1474-
/// Return type of `StrExt::splitn`
1473+
/// Return type of `str::splitn`
14751474
#[stable(feature = "rust1", since = "1.0.0")]
14761475
pub struct SplitN<'a, P: Pattern<'a>>(CharSplitsN<'a, P>);
14771476
delegate_iter!{pattern forward &'a str : SplitN<'a, P>}
14781477

1479-
/// Return type of `StrExt::rsplit`
1478+
/// Return type of `str::rsplit`
14801479
#[stable(feature = "rust1", since = "1.0.0")]
14811480
pub struct RSplit<'a, P: Pattern<'a>>(RCharSplits<'a, P>);
14821481
delegate_iter!{pattern reverse &'a str : RSplit<'a, P>}
14831482

1484-
/// Return type of `StrExt::rsplitn`
1483+
/// Return type of `str::rsplitn`
14851484
#[stable(feature = "rust1", since = "1.0.0")]
14861485
pub struct RSplitN<'a, P: Pattern<'a>>(RCharSplitsN<'a, P>);
14871486
delegate_iter!{pattern reverse &'a str : RSplitN<'a, P>}

0 commit comments

Comments
 (0)