File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 112
112
//!
113
113
//! // next() is the only required method
114
114
//! 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.
116
116
//! self.count += 1;
117
117
//!
118
- //! // check to see if we've finished counting or not.
118
+ //! // Check to see if we've finished counting or not.
119
119
//! if self.count < 6 {
120
120
//! Some(self.count)
121
121
//! } else {
Original file line number Diff line number Diff line change @@ -415,10 +415,10 @@ pub fn once<T>(value: T) -> Once<T> {
415
415
/// ```
416
416
/// #![feature(iter_unfold)]
417
417
/// 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.
419
419
/// *count += 1;
420
420
///
421
- /// // check to see if we've finished counting or not.
421
+ /// // Check to see if we've finished counting or not.
422
422
/// if *count < 6 {
423
423
/// Some(*count)
424
424
/// } else {
You can’t perform that action at this time.
0 commit comments