Skip to content

Commit bfb2b02

Browse files
authored
Tweak write_fmt doc.
Previous version wrongly used `but` while the two parts of the sentence are not contradicting but completing with each other.
1 parent 7e1e3eb commit bfb2b02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/io/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1611,7 +1611,7 @@ pub trait Write {
16111611
/// encountered.
16121612
///
16131613
/// This method is primarily used to interface with the
1614-
/// [`format_args!()`] macro, but it is rare that this should
1614+
/// [`format_args!()`] macro, and it is rare that this should
16151615
/// explicitly be called. The [`write!()`] macro should be favored to
16161616
/// invoke this method instead.
16171617
///

0 commit comments

Comments
 (0)