diff --git a/library/std/src/error.rs b/library/std/src/error.rs index ec9f0122950..8164ec56985 100644 --- a/library/std/src/error.rs +++ b/library/std/src/error.rs @@ -182,7 +182,7 @@ impl<'a, E: Error + 'a> From for Box { /// /// impl fmt::Display for AnError { /// fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - /// write!(f , "An error") + /// write!(f, "An error") /// } /// } /// @@ -215,7 +215,7 @@ impl<'a, E: Error + Send + Sync + 'a> From for Box) -> fmt::Result { - /// write!(f , "An error") + /// write!(f, "An error") /// } /// } ///