diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2018-11-20 18:22:26 +0100 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2018-11-20 18:22:40 +0100 |
| commit | a4279a07e29091fd8a72b13b2109c8969e713ffd (patch) | |
| tree | 7d40d703acedd39f0a2a41403dc2804edd37dca4 | |
| parent | 8a5bbd9a4e85e1383b87796f871a9020410bbd10 (diff) | |
| download | rust-a4279a07e29091fd8a72b13b2109c8969e713ffd.tar.gz rust-a4279a07e29091fd8a72b13b2109c8969e713ffd.zip | |
Capitalize
| -rw-r--r-- | src/libcore/iter/mod.rs | 4 | ||||
| -rw-r--r-- | src/libcore/iter/sources.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/iter/mod.rs b/src/libcore/iter/mod.rs index 8ae4b53da95..62e1f9fcb64 100644 --- a/src/libcore/iter/mod.rs +++ b/src/libcore/iter/mod.rs @@ -112,10 +112,10 @@ //! //! // next() is the only required method //! fn next(&mut self) -> Option<usize> { -//! // increment our count. This is why we started at zero. +//! // Increment our count. This is why we started at zero. //! self.count += 1; //! -//! // check to see if we've finished counting or not. +//! // Check to see if we've finished counting or not. //! if self.count < 6 { //! Some(self.count) //! } else { diff --git a/src/libcore/iter/sources.rs b/src/libcore/iter/sources.rs index 6d35d546415..f6a4a7a6fa8 100644 --- a/src/libcore/iter/sources.rs +++ b/src/libcore/iter/sources.rs @@ -415,10 +415,10 @@ pub fn once<T>(value: T) -> Once<T> { /// ``` /// #![feature(iter_unfold)] /// let counter = std::iter::unfold(0, |count| { -/// // increment our count. This is why we started at zero. +/// // Increment our count. This is why we started at zero. /// *count += 1; /// -/// // check to see if we've finished counting or not. +/// // Check to see if we've finished counting or not. /// if *count < 6 { /// Some(*count) /// } else { |
