Skip to content

Commit 6ed2d87

Browse files
committed
remove cfg gate on use RawVec since it is now also used in fallible code
1 parent f408d4b commit 6ed2d87

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/alloc/src/boxed.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ use crate::alloc::{handle_alloc_error, WriteCloneIntoRaw};
157157
use crate::alloc::{AllocError, Allocator, Global, Layout};
158158
#[cfg(not(no_global_oom_handling))]
159159
use crate::borrow::Cow;
160-
#[cfg(not(no_global_oom_handling))]
161160
use crate::raw_vec::RawVec;
162161
#[cfg(not(no_global_oom_handling))]
163162
use crate::str::from_boxed_utf8_unchecked;

0 commit comments

Comments
 (0)