Skip to content

Commit a4279a0

Browse files
committed
Capitalize
1 parent 8a5bbd9 commit a4279a0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/libcore/iter/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@
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 {

src/libcore/iter/sources.rs

+2-2
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)