about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThe8472 <git@infinite-source.de>2021-08-05 19:45:02 +0200
committerThe8472 <git@infinite-source.de>2021-08-05 19:45:02 +0200
commit6ed2d870fc0bb8eaebdbb1cc820b264bb433fdb3 (patch)
tree37aa8ca09e361cf46e54a5a21637e9ba1cbc0f81
parentf408d4bb8ca382bd981fedb7eb809893271f9859 (diff)
downloadrust-6ed2d870fc0bb8eaebdbb1cc820b264bb433fdb3.tar.gz
rust-6ed2d870fc0bb8eaebdbb1cc820b264bb433fdb3.zip
remove cfg gate on `use RawVec` since it is now also used in fallible code
-rw-r--r--library/alloc/src/boxed.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/alloc/src/boxed.rs b/library/alloc/src/boxed.rs
index e09cc227105..6b2f52eb511 100644
--- a/library/alloc/src/boxed.rs
+++ b/library/alloc/src/boxed.rs
@@ -157,7 +157,6 @@ use crate::alloc::{handle_alloc_error, WriteCloneIntoRaw};
 use crate::alloc::{AllocError, Allocator, Global, Layout};
 #[cfg(not(no_global_oom_handling))]
 use crate::borrow::Cow;
-#[cfg(not(no_global_oom_handling))]
 use crate::raw_vec::RawVec;
 #[cfg(not(no_global_oom_handling))]
 use crate::str::from_boxed_utf8_unchecked;