about summary refs log tree commit diff
diff options
context:
space:
mode:
authorkraktus <56031107+kraktus@users.noreply.github.com>2021-09-05 17:23:58 +0200
committerGitHub <noreply@github.com>2021-09-05 17:23:58 +0200
commitbfb2b02d61a36489d03664636c6a4b3585e29fd5 (patch)
tree28c2c7cf5cbb0bc67e34877fc1d7eb118c194ebe
parent7e1e3eb5e19c7d1a4eabe4da22bf2aa085772766 (diff)
downloadrust-bfb2b02d61a36489d03664636c6a4b3585e29fd5.tar.gz
rust-bfb2b02d61a36489d03664636c6a4b3585e29fd5.zip
Tweak `write_fmt` doc.
Previous version wrongly used `but` while the two parts of the sentence are not contradicting but completing with each other.
-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.
     ///