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 e4f2534 commit beb4e58Copy full SHA for beb4e58
packages/const-array-string/src/lib.rs
@@ -1,5 +1,9 @@
1
-// #![no_std]
2
-#![cfg_attr(not(test), no_std)]
+#![no_std]
+
3
+#[cfg(any(doc, test))]
4
+extern crate std;
5
6
+use std::prelude::rust_2021::*;
7
8
use const_array_vec::ArrayVec;
9
packages/const-array-vec/src/lib.rs
#[derive(Clone, Copy)]
pub struct ArrayVec<T, const CAP: usize> {
0 commit comments