diff options
| author | Trevor Spiteri <tspiteri@ieee.org> | 2019-02-20 15:11:22 +0100 |
|---|---|---|
| committer | Trevor Spiteri <tspiteri@ieee.org> | 2019-02-27 17:07:35 +0100 |
| commit | b70a9532a9d3e2ae4b9bf7bc4a4a0bfc7dbe134b (patch) | |
| tree | 775893a41fb87cad4baaa9a0f6cfacc3d58c3944 | |
| parent | 485537074062d6310178101b198606573527723c (diff) | |
| download | rust-b70a9532a9d3e2ae4b9bf7bc4a4a0bfc7dbe134b.tar.gz rust-b70a9532a9d3e2ae4b9bf7bc4a4a0bfc7dbe134b.zip | |
Replace `s` with `self` in docs for str methods taking self.
| -rw-r--r-- | src/libcore/str/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index 8b51d846514..53334adadb8 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -3965,7 +3965,7 @@ impl str { me.make_ascii_lowercase() } - /// Return an iterator that escapes each char in `s` with [`char::escape_debug`]. + /// Return an iterator that escapes each char in `self` with [`char::escape_debug`]. /// /// Note: only extended grapheme codepoints that begin the string will be /// escaped. @@ -4013,7 +4013,7 @@ impl str { } } - /// Return an iterator that escapes each char in `s` with [`char::escape_default`]. + /// Return an iterator that escapes each char in `self` with [`char::escape_default`]. /// /// [`char::escape_default`]: ../std/primitive.char.html#method.escape_default /// @@ -4051,7 +4051,7 @@ impl str { EscapeDefault { inner: self.chars().flat_map(CharEscapeDefault) } } - /// Return an iterator that escapes each char in `s` with [`char::escape_unicode`]. + /// Return an iterator that escapes each char in `self` with [`char::escape_unicode`]. /// /// [`char::escape_unicode`]: ../std/primitive.char.html#method.escape_unicode /// |
