diff options
| author | Donnie Bishop <donnie.a.bishop@gmail.com> | 2017-03-30 15:51:49 -0400 |
|---|---|---|
| committer | Donnie Bishop <donnie.a.bishop@gmail.com> | 2017-03-30 15:51:49 -0400 |
| commit | 17b4884d3c3d88af7f43d5fca32fd8f48d75669b (patch) | |
| tree | ec9633ac13b1158dcc0a7c056b8b0c25ade524c3 | |
| parent | 41e04985867e04b2be7b7fbd90864e5d9b3a276f (diff) | |
| download | rust-17b4884d3c3d88af7f43d5fca32fd8f48d75669b.tar.gz rust-17b4884d3c3d88af7f43d5fca32fd8f48d75669b.zip | |
Modify Chars' description
| -rw-r--r-- | src/libcore/str/mod.rs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index 4720c965c57..11d52e3c15b 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -369,11 +369,15 @@ impl fmt::Display for Utf8Error { Section: Iterators */ -/// Iterator for the char (representing *Unicode Scalar Values*) of a string. +/// An iterator over the [`char`]s of a string slice. /// -/// Created with the method [`chars`]. +/// [`char`]: ../../std/primitive.char.html +/// +/// This struct is created by the [`chars()`] method on [`str`]. +/// See its documentation for more. /// -/// [`chars`]: ../../std/primitive.str.html#method.chars +/// [`chars()`]: ../../std/primitive.str.html#method.chars +/// [`str`]: ../../std/primitive.str.html #[derive(Clone, Debug)] #[stable(feature = "rust1", since = "1.0.0")] pub struct Chars<'a> { |
