Skip to content

Commit b7d72ad

Browse files
authored
Rollup merge of #97131 - gimbles:patch-2, r=Dylan-DPC
Improve println! documentation
2 parents 8aba26d + a47edcf commit b7d72ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/macros.rs

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

0 commit comments

Comments
 (0)