1
Fork 0

rollup merge of #19902: alexcrichton/second-pass-mem

This commit stabilizes the `mem` and `default` modules of std.
This commit is contained in:
Alex Crichton 2014-12-17 08:35:22 -08:00
commit 3369b33a20
30 changed files with 68 additions and 6 deletions

View file

@ -2349,7 +2349,9 @@ impl StrPrelude for str {
fn len(&self) -> uint { self.repr().len }
}
#[stable]
impl<'a> Default for &'a str {
#[stable]
fn default() -> &'a str { "" }
}