File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 112112//!
113113//! // next() is the only required method
114114//! fn next(&mut self) -> Option<usize> {
115- //! // increment our count. This is why we started at zero.
115+ //! // Increment our count. This is why we started at zero.
116116//! self.count += 1;
117117//!
118- //! // check to see if we've finished counting or not.
118+ //! // Check to see if we've finished counting or not.
119119//! if self.count < 6 {
120120//! Some(self.count)
121121//! } else {
Original file line number Diff line number Diff line change @@ -415,10 +415,10 @@ pub fn once<T>(value: T) -> Once<T> {
415415/// ```
416416/// #![feature(iter_unfold)]
417417/// let counter = std::iter::unfold(0, |count| {
418- /// // increment our count. This is why we started at zero.
418+ /// // Increment our count. This is why we started at zero.
419419/// *count += 1;
420420///
421- /// // check to see if we've finished counting or not.
421+ /// // Check to see if we've finished counting or not.
422422/// if *count < 6 {
423423/// Some(*count)
424424/// } else {
You can’t perform that action at this time.
0 commit comments