about summary refs log tree commit diff
path: root/src/libcollections/string.rs
diff options
context:
space:
mode:
authorathulappadan <a4athulappadan@gmail.com>2016-09-11 17:00:09 +0530
committerathulappadan <a4athulappadan@gmail.com>2016-09-11 17:00:09 +0530
commit49e77dbf25ed6526fb5d37c32e55797fb04522f0 (patch)
treec876b159c4833fe3a5f2c91dadb2194d77bfc057 /src/libcollections/string.rs
parent1fca1ab0e7be574022b2d229f0a6ad9bd580d1bf (diff)
downloadrust-49e77dbf25ed6526fb5d37c32e55797fb04522f0.tar.gz
rust-49e77dbf25ed6526fb5d37c32e55797fb04522f0.zip
Documentation of what does for each type
Diffstat (limited to 'src/libcollections/string.rs')
-rw-r--r--src/libcollections/string.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcollections/string.rs b/src/libcollections/string.rs
index 3a304c62929..773e94f1b41 100644
--- a/src/libcollections/string.rs
+++ b/src/libcollections/string.rs
@@ -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()