We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a916ac2 commit 65e3660Copy full SHA for 65e3660
src/libcore/iter/mod.rs
@@ -216,6 +216,11 @@
216
//! Common iterator adapters include [`map`], [`take`], and [`filter`].
217
//! For more, see their documentation.
218
//!
219
+//! If an iterator adapter panics, the iterator will be in an unspecified (but
220
+//! memory safe) state. This state is also not guaranteed to stay the same
221
+//! across versions of Rust, so you should avoid relying on the exact values
222
+//! returned by an iterator which panicked.
223
+//!
224
//! [`map`]: trait.Iterator.html#method.map
225
//! [`take`]: trait.Iterator.html#method.take
226
//! [`filter`]: trait.Iterator.html#method.filter
0 commit comments