Skip to content

Commit

Permalink
doc: fix sentence structure in std::fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang committed Oct 13, 2018
1 parent f517527 commit 2bb85b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/fmt.rs
Expand Up @@ -152,7 +152,7 @@
//! 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
//! calling [`write!`]) however, they should never return errors spuriously. That
//! 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
//! the function signature might suggest, string formatting is an infallible
Expand Down

0 comments on commit 2bb85b2

Please sign in to comment.