Auto merge of #29245 - james-darkfox:master, r=alexcrichton

This commit is contained in:
bors 2015-10-24 01:19:26 +00:00
commit d689182e5d

View File

@ -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
//