remove now unnecessary lang items
This commit is contained in:
parent
983c12f7f6
commit
afbecc0f68
18 changed files with 51 additions and 90 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue