1
Fork 0

doc: Mention that writeln! and println! always use LF

Fixes #34697
This commit is contained in:
Mike Hommey 2016-07-12 14:37:04 +09:00
parent 3265bd54b5
commit 4bfaa43eed
2 changed files with 5 additions and 1 deletions

View file

@ -238,6 +238,8 @@ macro_rules! write {
}
/// Use the `format!` syntax to write data into a buffer, appending a newline.
/// On all platforms, the newline is the LINE FEED character (`\n`/`U+000A`)
/// alone (no additional CARRIAGE RETURN (`\r`/`U+000D`).
///
/// This macro is typically used with a buffer of `&mut `[`Write`][write].
///