From 3f75ab3950c77797a17a98b7bcece7b6a7c6be91 Mon Sep 17 00:00:00 2001 From: ondra05 Date: Sat, 18 Sep 2021 23:39:56 +0200 Subject: [PATCH] Fix typo Removed extra spaces in front of commas --- library/std/src/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/std/src/error.rs b/library/std/src/error.rs index ec9f012295000..8164ec5698579 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") /// } /// } ///