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 8f4e456 commit 7f34c4aCopy full SHA for 7f34c4a
src/lib.rs
@@ -53,7 +53,7 @@
53
#![cfg_attr(all(feature="alloc", not(feature="std")), feature(alloc))]
54
#![cfg_attr(all(feature="simd_support", feature="nightly"), feature(stdsimd))]
55
56
-#![cfg(all(feature="alloc", not(feature="std")))]
+#[cfg(all(feature="alloc"))]
57
extern crate alloc;
58
59
#[cfg(feature = "getrandom")]
src/seq/index.rs
@@ -326,7 +326,7 @@ where R: Rng + ?Sized, IndexVec: From<Vec<X>> {
326
327
#[cfg(test)]
328
mod test {
329
- use crate::alloc::vec;
+ use alloc::vec;
330
use super::*;
331
332
#[test]
0 commit comments