Skip to content

Commit

Permalink
Rollup merge of #89081 - ondra05:patch-1, r=dtolnay
Browse files Browse the repository at this point in the history
Fix a typo

Removed extra spaces in front of commas
  • Loading branch information
JohnTitor authored Sep 19, 2021
2 parents 441046a + 3f75ab3 commit 4877ad3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/std/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ impl<'a, E: Error + 'a> From<E> for Box<dyn Error + 'a> {
///
/// impl fmt::Display for AnError {
/// fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
/// write!(f , "An error")
/// write!(f, "An error")
/// }
/// }
///
Expand Down Expand Up @@ -215,7 +215,7 @@ impl<'a, E: Error + Send + Sync + 'a> From<E> for Box<dyn Error + Send + Sync +
///
/// impl fmt::Display for AnError {
/// fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
/// write!(f , "An error")
/// write!(f, "An error")
/// }
/// }
///
Expand Down

0 comments on commit 4877ad3

Please sign in to comment.