about summary refs log tree commit diff
path: root/library/std/src/macros.rs
diff options
context:
space:
mode:
authorGim <93856041+gimbles@users.noreply.github.com>2022-05-18 07:31:58 +0530
committerGitHub <noreply@github.com>2022-05-18 07:31:58 +0530
commita47edcf72aff3fb4e8bb52cc7823fd140ce5470d (patch)
tree18a5cb920e8bbe7821a9128372358a5874f8e307 /library/std/src/macros.rs
parent4c5f6e6277b89e47d73a192078697f7a5f3dc0ac (diff)
downloadrust-a47edcf72aff3fb4e8bb52cc7823fd140ce5470d.tar.gz
rust-a47edcf72aff3fb4e8bb52cc7823fd140ce5470d.zip
Update macros.rs
Diffstat (limited to 'library/std/src/macros.rs')
-rw-r--r--library/std/src/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/macros.rs b/library/std/src/macros.rs
index e512c0d81a0..c7348951511 100644
--- a/library/std/src/macros.rs
+++ b/library/std/src/macros.rs
@@ -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