aboutsummaryrefslogtreecommitdiff
path: root/src/array.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/array.rs')
-rw-r--r--src/array.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/array.rs b/src/array.rs
index 75f33c6..cc84aaf 100644
--- a/src/array.rs
+++ b/src/array.rs
@@ -8,7 +8,7 @@
///
/// You are generally **not** expected to need to implement this yourself. It is
/// already implemented for all the major array lengths (`0..=32` and the powers
-/// of 2 up to 4,096).
+/// of 2 up to 4,096), or for all array lengths with the feature `rustc_1_55`.
///
/// **Additional lengths can easily be added upon request.**
///
@@ -41,8 +41,8 @@ pub trait Array {
fn default() -> Self;
}
-#[cfg(feature = "nightly_const_generics")]
+#[cfg(feature = "rustc_1_55")]
mod const_generic_impl;
-#[cfg(not(feature = "nightly_const_generics"))]
+#[cfg(not(feature = "rustc_1_55"))]
mod generated_impl;