diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-09-19 17:31:35 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-19 17:31:35 +0900 |
| commit | 4877ad3d12a89efb08d850628d05dcd7a1416490 (patch) | |
| tree | 2fa7a7ec0b8a28212203af4bdae2febb01c77168 | |
| parent | 441046af978c99e777aacd98d0efc559d72f2195 (diff) | |
| parent | 3f75ab3950c77797a17a98b7bcece7b6a7c6be91 (diff) | |
Rollup merge of #89081 - ondra05:patch-1, r=dtolnay
Fix a typo Removed extra spaces in front of commas
| -rw-r--r-- | library/std/src/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<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") /// } /// } /// @@ -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") /// } /// } /// |
