We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53aca55 commit e490aaeCopy full SHA for e490aae
src/libcore/fmt/mod.rs
@@ -108,10 +108,10 @@ pub struct Error;
108
/// [`io::Write`]: ../../std/io/trait.Write.html
109
#[stable(feature = "rust1", since = "1.0.0")]
110
pub trait Write {
111
- /// Writes a slice of bytes into this writer, returning whether the write
+ /// Writes a string slice into this writer, returning whether the write
112
/// succeeded.
113
///
114
- /// This method can only succeed if the entire byte slice was successfully
+ /// This method can only succeed if the entire string slice was successfully
115
/// written, and this method will not return until all data has been
116
/// written or an error occurs.
117
0 commit comments