]> git.lizzy.rs Git - rust.git/commitdiff
Pick a feature name for write_char
authorSimon Sapin <simon.sapin@exyr.org>
Tue, 21 Apr 2015 16:16:08 +0000 (18:16 +0200)
committerSimon Sapin <simon.sapin@exyr.org>
Tue, 21 Apr 2015 16:16:08 +0000 (18:16 +0200)
src/libcore/fmt/mod.rs

index 8e2138bcbf60528a5e5921c260bf742203ccbc0e..f6b3bdcecb9979d446d6c47f23bc2d75306818fd 100644 (file)
@@ -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);