about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2021-09-10 08:23:21 -0700
committerGitHub <noreply@github.com>2021-09-10 08:23:21 -0700
commit8368af060d2b4b9d6f1a3a167bb514116bb76bc7 (patch)
treec5e37ab6ff7315be5ac42bee1a7b05819eea901d
parent04380482b91b75aeca97c2b7e3b6cc1b468346d4 (diff)
parentbfb2b02d61a36489d03664636c6a4b3585e29fd5 (diff)
downloadrust-8368af060d2b4b9d6f1a3a167bb514116bb76bc7.tar.gz
rust-8368af060d2b4b9d6f1a3a167bb514116bb76bc7.zip
Rollup merge of #88667 - kraktus:patch-1, r=dtolnay
Tweak `write_fmt` doc.

Found this weird sentence while reading the docs.
-rw-r--r--library/std/src/io/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/io/mod.rs b/library/std/src/io/mod.rs
index e8466fa06b8..4a35d36a9de 100644
--- a/library/std/src/io/mod.rs
+++ b/library/std/src/io/mod.rs
@@ -1611,7 +1611,7 @@ pub trait Write {
     /// encountered.
     ///
     /// This method is primarily used to interface with the
-    /// [`format_args!()`] macro, but it is rare that this should
+    /// [`format_args!()`] macro, and it is rare that this should
     /// explicitly be called. The [`write!()`] macro should be favored to
     /// invoke this method instead.
     ///