1
Fork 0

remove now unnecessary lang items

This commit is contained in:
lcnr 2022-03-15 16:56:28 +01:00
parent 983c12f7f6
commit afbecc0f68
18 changed files with 51 additions and 90 deletions

View file

@ -237,7 +237,7 @@ mod hack {
}
}
#[lang = "slice_alloc"]
#[cfg_attr(bootstrap, lang = "slice_alloc")]
#[cfg(not(test))]
impl<T> [T] {
/// Sorts the slice.
@ -667,7 +667,7 @@ impl<T> [T] {
}
}
#[lang = "slice_u8_alloc"]
#[cfg_attr(bootstrap, lang = "slice_u8_alloc")]
#[cfg(not(test))]
impl [u8] {
/// Returns a vector containing a copy of this slice where each byte