rollup merge of #19902: alexcrichton/second-pass-mem
This commit stabilizes the `mem` and `default` modules of std.
This commit is contained in:
commit
3369b33a20
30 changed files with 68 additions and 6 deletions
|
@ -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 { "" }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue