Skip to content

Commit e3678ea

Browse files
frewsxcvsteveklabnik
authored andcommitted
---
yaml --- r: 209507 b: refs/heads/try c: 3908bae h: refs/heads/master i: 209505: 80830f8 209503: 6f2e3fe v: v3
1 parent a920535 commit e3678ea

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5-
refs/heads/try: 35a4100af0df17436fcb29c7862145c669620eea
5+
refs/heads/try: 3908bae77b402623794370c976d6c2c2a3b699d4
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/libcore/iter.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ pub trait Iterator {
179179

180180
/// Creates an iterator that iterates over both this and the specified
181181
/// iterators simultaneously, yielding the two elements as pairs. When
182-
/// either iterator returns None, all further invocations of next() will
183-
/// return None.
182+
/// either iterator returns `None`, all further invocations of next() will
183+
/// return `None`.
184184
///
185185
/// # Examples
186186
///
@@ -254,7 +254,7 @@ pub trait Iterator {
254254
}
255255

256256
/// Creates an iterator that both filters and maps elements.
257-
/// If the specified function returns None, the element is skipped.
257+
/// If the specified function returns `None`, the element is skipped.
258258
/// Otherwise the option is unwrapped and the new value is yielded.
259259
///
260260
/// # Examples
@@ -403,7 +403,7 @@ pub trait Iterator {
403403
/// Creates a new iterator that behaves in a similar fashion to fold.
404404
/// There is a state which is passed between each iteration and can be
405405
/// mutated as necessary. The yielded values from the closure are yielded
406-
/// from the Scan instance when not None.
406+
/// from the Scan instance when not `None`.
407407
///
408408
/// # Examples
409409
///
@@ -701,7 +701,7 @@ pub trait Iterator {
701701

702702
/// Returns the index of the last element satisfying the specified predicate
703703
///
704-
/// If no element matches, None is returned.
704+
/// If no element matches, `None` is returned.
705705
///
706706
/// Does not consume the iterator *before* the first found element.
707707
///

0 commit comments

Comments
 (0)