summaryrefslogtreecommitdiffstats
path: root/library/core/src/iter/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/src/iter/mod.rs')
-rw-r--r--library/core/src/iter/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/iter/mod.rs b/library/core/src/iter/mod.rs
index ae00232c1..de638552f 100644
--- a/library/core/src/iter/mod.rs
+++ b/library/core/src/iter/mod.rs
@@ -278,7 +278,7 @@
//!
//! ```
//! # #![allow(unused_must_use)]
-//! # #![cfg_attr(not(bootstrap), allow(map_unit_fn))]
+//! # #![allow(map_unit_fn)]
//! let v = vec![1, 2, 3, 4, 5];
//! v.iter().map(|x| println!("{x}"));
//! ```