Skip to content

Commit cda9ba2

Browse files
committed
Rephrase
1 parent e7db51b commit cda9ba2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
//! }
1616
//! ```
1717
//!
18-
//! However, **make sure to only use the above form with a mutable reference to an existing iterator**.
18+
//! However, **make sure to only use the above form with a mutable reference to an existing iterator**,
19+
//! not with an expression that creates an iterator.
1920
//! For example, the following code will loop forever over the first element of the array:
2021
//!
2122
//! ```ignore

0 commit comments

Comments
 (0)