Skip to content

Commit

Permalink
Rollup merge of rust-lang#97131 - gimbles:patch-2, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Improve println! documentation
  • Loading branch information
JohnTitor authored May 18, 2022
2 parents beaa27b + a47edcf commit 4fb2f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ macro_rules! print {
/// On all platforms, the newline is the LINE FEED character (`\n`/`U+000A`) alone
/// (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.
///
/// Use `println!` only for the primary output of your program. Use
Expand Down

0 comments on commit 4fb2f33

Please sign in to comment.