Skip to content

Commit

Permalink
Capitalize
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Nov 20, 2018
1 parent 8a5bbd9 commit a4279a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/libcore/iter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions src/libcore/iter/sources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a4279a0

Please sign in to comment.