Tweak write_fmt doc.

Previous version wrongly used `but` while the two parts of the sentence are not contradicting but completing with each other.
This commit is contained in:
kraktus 2021-09-05 17:23:58 +02:00 committed by GitHub
parent 7e1e3eb5e1
commit bfb2b02d61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1611,7 +1611,7 @@ pub trait Write {
/// encountered. /// encountered.
/// ///
/// This method is primarily used to interface with the /// 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 /// explicitly be called. The [`write!()`] macro should be favored to
/// invoke this method instead. /// invoke this method instead.
/// ///