about summary refs log tree commit diff
path: root/src/libcore/fmt
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-02-01 18:33:13 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-02-02 22:45:37 -0800
commitb2297fd710b9e0f860f8991b1f641d827f32e5da (patch)
tree8391939ec59cc67348d3b1864dbfd151c0d7ad59 /src/libcore/fmt
parent7858cb432d3f2efc0374424cb2b51518f697c172 (diff)
downloadrust-b2297fd710b9e0f860f8991b1f641d827f32e5da.tar.gz
rust-b2297fd710b9e0f860f8991b1f641d827f32e5da.zip
std: Add some missing stability attributes
* Display::fmt is stable
* Debug::fmt is stable
* FromIterator::from_iter is stable
* Peekable::peek is stable
Diffstat (limited to 'src/libcore/fmt')
-rw-r--r--src/libcore/fmt/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs
index 551277bae5c..60262857765 100644
--- a/src/libcore/fmt/mod.rs
+++ b/src/libcore/fmt/mod.rs
@@ -264,6 +264,7 @@ pub trait Show {
 #[lang = "debug_trait"]
 pub trait Debug {
     /// Formats the value using the given formatter.
+    #[stable(feature = "rust1", since = "1.0.0")]
     fn fmt(&self, &mut Formatter) -> Result;
 }
 
@@ -290,6 +291,7 @@ pub trait String {
 #[stable(feature = "rust1", since = "1.0.0")]
 pub trait Display {
     /// Formats the value using the given formatter.
+    #[stable(feature = "rust1", since = "1.0.0")]
     fn fmt(&self, &mut Formatter) -> Result;
 }