]> git.lizzy.rs Git - rust.git/blobdiff - src/liballoc/fmt.rs
Auto merge of #68269 - csmoe:temp, r=estebank
[rust.git] / src / liballoc / fmt.rs
index 01d4913665c07314bfd0ad8c7569f7bc2489a932..e6162e0f571e2aaa2fa4cf7f4ec982c6829095d9 100644 (file)
 //!
 //! Additionally, the return value of this function is [`fmt::Result`] which is a
 //! type alias of [`Result`]`<(), `[`std::fmt::Error`]`>`. Formatting implementations
-//! should ensure that they propagate errors from the [`Formatter`][`Formatter`] (e.g., when
+//! should ensure that they propagate errors from the [`Formatter`] (e.g., when
 //! calling [`write!`]). However, they should never return errors spuriously. That
 //! is, a formatting implementation must and may only return an error if the
 //! passed-in [`Formatter`] returns an error. This is because, contrary to what