We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 511eda1 + ee8a01f commit dbea6acCopy full SHA for dbea6ac
library/core/src/fmt/mod.rs
@@ -119,6 +119,10 @@ pub trait Write {
119
///
120
/// This function will return an instance of [`Error`] on error.
121
122
+ /// The purpose of std::fmt::Error is to abort the formatting operation when the underlying
123
+ /// destination encounters some error preventing it from accepting more text; it should
124
+ /// generally be propagated rather than handled, at least when implementing formatting traits.
125
+ ///
126
/// # Examples
127
128
/// ```
0 commit comments