1
Fork 0

Rollup merge of #97131 - gimbles:patch-2, r=Dylan-DPC

Improve println! documentation
This commit is contained in:
Yuki Okushi 2022-05-19 08:22:43 +09:00 committed by GitHub
commit b7d72add46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@ macro_rules! print {
/// On all platforms, the newline is the LINE FEED character (`\n`/`U+000A`) alone /// On all platforms, the newline is the LINE FEED character (`\n`/`U+000A`) alone
/// (no additional CARRIAGE RETURN (`\r`/`U+000D`)). /// (no additional CARRIAGE RETURN (`\r`/`U+000D`)).
/// ///
/// Use the [`format!`] syntax to write data to the standard output. /// This macro uses the same syntax as [`format!`], but writes to the standard output instead.
/// See [`std::fmt`] for more information. /// See [`std::fmt`] for more information.
/// ///
/// Use `println!` only for the primary output of your program. Use /// Use `println!` only for the primary output of your program. Use