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 bb72710 commit 3528115Copy full SHA for 3528115
library/alloc/src/str.rs
@@ -136,7 +136,7 @@ where
136
T: Copy,
137
B: AsRef<[T]> + ?Sized,
138
S: Borrow<B>,
139
- [(); alloc::co_alloc_metadata_num_slots_with_preference_global(COOP_PREFERRED)]:,
+ [(); alloc::co_alloc_metadata_num_slots_with_preference::<Global>(COOP_PREFERRED)]:,
140
{
141
let sep_len = sep.len();
142
let mut iter = slice.iter();
library/std/src/ffi/os_str.rs
@@ -1,7 +1,6 @@
1
#[cfg(test)]
2
mod tests;
3
4
-use crate::alloc::Global;
5
use crate::borrow::{Borrow, Cow};
6
use crate::cmp;
7
use crate::collections::TryReserveError;
0 commit comments