We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f517527 commit 2bb85b2Copy full SHA for 2bb85b2
src/liballoc/fmt.rs
@@ -152,7 +152,7 @@
152
//! Additionally, the return value of this function is [`fmt::Result`] which is a
153
//! type alias of [`Result`]`<(), `[`std::fmt::Error`]`>`. Formatting implementations
154
//! should ensure that they propagate errors from the [`Formatter`][`Formatter`] (e.g., when
155
-//! calling [`write!`]) however, they should never return errors spuriously. That
+//! calling [`write!`]). However, they should never return errors spuriously. That
156
//! is, a formatting implementation must and may only return an error if the
157
//! passed-in [`Formatter`] returns an error. This is because, contrary to what
158
//! the function signature might suggest, string formatting is an infallible
0 commit comments