Skip to content

Commit a04eefb

Browse files
authored
Rollup merge of #42510 - mbrubeck:docs, r=QuietMisdreavus
Update step_by docs to say iterator instead of range None
2 parents aa536f4 + b6193f3 commit a04eefb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/iter/iterator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ pub trait Iterator {
262262
/// Creates an iterator starting at the same point, but stepping by
263263
/// the given amount at each iteration.
264264
///
265-
/// Note that it will always return the first element of the range,
265+
/// Note that it will always return the first element of the iterator,
266266
/// regardless of the step given.
267267
///
268268
/// # Panics

0 commit comments

Comments
 (0)