about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2015-04-21 18:16:08 +0200
committerSimon Sapin <simon.sapin@exyr.org>2015-04-21 18:16:08 +0200
commit16181e686a0b03960887889e28ef5f636ceccd4d (patch)
tree3dc80d84309d5960605a6a4731beca18426550af /src
parent19cc9435d9e11ea318eb03420777898f5159e810 (diff)
downloadrust-16181e686a0b03960887889e28ef5f636ceccd4d.tar.gz
rust-16181e686a0b03960887889e28ef5f636ceccd4d.zip
Pick a feature name for write_char
Diffstat (limited to 'src')
-rw-r--r--src/libcore/fmt/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs
index 8e2138bcbf6..f6b3bdcecb9 100644
--- a/src/libcore/fmt/mod.rs
+++ b/src/libcore/fmt/mod.rs
@@ -93,7 +93,7 @@ pub trait Write {
     /// # Errors
     ///
     /// This function will return an instance of `FormatError` on error.
-    #[stable(feature = "rust1", since = "1.1.0")]
+    #[stable(feature = "fmt_write_char", since = "1.1.0")]
     fn write_char(&mut self, c: char) -> Result {
         let mut utf_8 = [0u8; 4];
         let bytes_written = c.encode_utf8(&mut utf_8).unwrap_or(0);