Skip to content

Commit

Permalink
Tweak write_fmt doc.
Browse files Browse the repository at this point in the history
Previous version wrongly used `but` while the two parts of the sentence are not contradicting but completing with each other.
  • Loading branch information
kraktus committed Sep 5, 2021
1 parent 7e1e3eb commit bfb2b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/io/mod.rs
Expand Up @@ -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.
///
Expand Down

0 comments on commit bfb2b02

Please sign in to comment.