Skip to content

Commit 3f75ab3

Browse files
author
ondra05
authored
Fix typo
Removed extra spaces in front of commas
1 parent 35c8f26 commit 3f75ab3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: library/std/src/error.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ impl<'a, E: Error + 'a> From<E> for Box<dyn Error + 'a> {
182182
///
183183
/// impl fmt::Display for AnError {
184184
/// fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
185-
/// write!(f , "An error")
185+
/// write!(f, "An error")
186186
/// }
187187
/// }
188188
///
@@ -215,7 +215,7 @@ impl<'a, E: Error + Send + Sync + 'a> From<E> for Box<dyn Error + Send + Sync +
215215
///
216216
/// impl fmt::Display for AnError {
217217
/// fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
218-
/// write!(f , "An error")
218+
/// write!(f, "An error")
219219
/// }
220220
/// }
221221
///

0 commit comments

Comments
 (0)