Skip to content

Commit

Permalink
Auto merge of #55049 - tshepang:fix, r=withoutboats
Browse files Browse the repository at this point in the history
doc: fix sentence structure in std::fmt
  • Loading branch information
bors committed Oct 14, 2018
2 parents 2bab4bf + 2bb85b2 commit 1ebcb21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/fmt.rs
Original file line number Diff line number Diff line change
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 1ebcb21

Please sign in to comment.