Skip to content

Commit

Permalink
Pick a feature name for write_char
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Apr 21, 2015
1 parent 19cc943 commit 16181e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/fmt/mod.rs
Expand Up @@ -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);
Expand Down

0 comments on commit 16181e6

Please sign in to comment.