We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7db51b commit cda9ba2Copy full SHA for cda9ba2
src/lib.rs
@@ -15,7 +15,8 @@
15
//! }
16
//! ```
17
//!
18
-//! However, **make sure to only use the above form with a mutable reference to an existing iterator**.
+//! 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.
20
//! For example, the following code will loop forever over the first element of the array:
21
22
//! ```ignore
0 commit comments