From 9021f61ef7979cb146c5786e1c54c6d928cc0483 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 15 Dec 2014 20:04:52 -0800 Subject: std: Second pass stabilization of `default` This commit performs a second pass stabilization of the `std::default` module. The module was already marked `#[stable]`, and the inheritance of `#[stable]` was removed since this attribute was applied. This commit adds the `#[stable]` attribute to the trait definition and one method name, along with all implementations found in the standard distribution. --- src/libcollections/string.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libcollections/string.rs') diff --git a/src/libcollections/string.rs b/src/libcollections/string.rs index f3a9e7b1867..505b6367d88 100644 --- a/src/libcollections/string.rs +++ b/src/libcollections/string.rs @@ -826,6 +826,7 @@ impl StrAllocating for String { #[stable] impl Default for String { + #[stable] fn default() -> String { String::new() } -- cgit 1.4.1-3-g733a5