src/maputil.rs

changeset 94
1f19c6bbf07b
parent 92
e11986179a4b
--- a/src/maputil.rs	Tue Apr 08 13:30:12 2025 -0500
+++ b/src/maputil.rs	Sun Apr 27 20:29:43 2025 -0500
@@ -3,7 +3,7 @@
 */
 
 use itertools::izip;
-#[cfg(feature = "nightly")]
+#[cfg(nightly)]
 use std::mem::MaybeUninit;
 
 /// Trait for a fixed-length container type.
@@ -352,7 +352,7 @@
 ///
 /// If `iter.next()` panicks, all items already yielded by the iterator are
 /// dropped.
-#[cfg(feature = "nightly")]
+#[cfg(nightly)]
 #[inline]
 pub(crate) fn collect_into_array_unchecked<T, I: Iterator<Item = T>, const N: usize>(
     mut iter: I,
@@ -413,7 +413,7 @@
     unreachable!("Something went wrong with iterator length")
 }
 
-#[cfg(not(feature = "nightly"))]
+#[cfg(not(nightly))]
 #[inline]
 pub(crate) fn collect_into_array_unchecked<T, I: Iterator<Item = T>, const N: usize>(
     iter: I,

mercurial