Documentation of what does for each type

This commit is contained in:
athulappadan 2016-09-11 17:00:09 +05:30
parent 1fca1ab0e7
commit 49e77dbf25
32 changed files with 41 additions and 0 deletions

View file

@ -1567,6 +1567,7 @@ impl_eq! { Cow<'a, str>, String }
#[stable(feature = "rust1", since = "1.0.0")]
impl Default for String {
/// Creates an empty `String`.
#[inline]
fn default() -> String {
String::new()