Auto merge of #29245 - james-darkfox:master, r=alexcrichton
This commit is contained in:
commit
d689182e5d
@ -655,6 +655,11 @@ impl<'a, T> Default for &'a [T] {
|
||||
fn default() -> &'a [T] { &[] }
|
||||
}
|
||||
|
||||
#[stable(feature = "mut_slice_default", since = "1.5.0")]
|
||||
impl<'a, T> Default for &'a mut [T] {
|
||||
fn default() -> &'a mut [T] { &mut [] }
|
||||
}
|
||||
|
||||
//
|
||||
// Iterators
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user