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 f50c99e commit c9f19b4Copy full SHA for c9f19b4
1 file changed
library/alloc/src/string.rs
@@ -61,7 +61,9 @@ use crate::alloc::Allocator;
61
#[cfg(not(no_global_oom_handling))]
62
use crate::borrow::{Cow, ToOwned};
63
use crate::boxed::Box;
64
-use crate::collections::{TryReserveError, VecDeque};
+use crate::collections::{TryReserveError};
65
+#[cfg(not(no_global_oom_handling))]
66
+use crate::collections::VecDeque;
67
use crate::str::{self, CharIndices, Chars, Utf8Error, from_utf8_unchecked_mut};
68
69
use crate::str::{FromStr, from_boxed_utf8_unchecked};
0 commit comments