From 84297e05df103fefc254bde08a5edeed7ea1ff03 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Mon, 1 May 2023 14:10:42 +0800 Subject: [PATCH] Remove repeated definite articles Signed-off-by: cui fliter --- CHANGELOG.md | 2 +- Processes.md | 2 +- src/comment.rs | 2 +- src/config/options.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60f961fa12a..2f5ac476d91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1065,7 +1065,7 @@ from formatting an attribute #3665 - Do not collapse block around expr with condition on match arm 5b9b7d5 - Use vertical layout for complex attributes c77708f - Format array using heuristics for function calls 98c6f7b -- Implement stable ordering for impl items with the the following item priority: type, const, macro, then method fa80ddf +- Implement stable ordering for impl items with the following item priority: type, const, macro, then method fa80ddf - Reorder imports by default 164cf7d - Group `extern crate` by default 3a138a2 - Make `error_on_line_overflow` false by default f146711 diff --git a/Processes.md b/Processes.md index 61abc87eec9..64ef20a9bd7 100644 --- a/Processes.md +++ b/Processes.md @@ -16,7 +16,7 @@ In this Section, we describe how to stabilise an option of the rustfmt's configu Open a pull request that closes the tracking issue. The tracking issue is listed beside the option in `Configurations.md`. - Update the `Config` enum marking the option as stable. -- Update the the `Configuration.md` file marking the option as stable. +- Update the `Configuration.md` file marking the option as stable. - Update `CHANGELOG.md` marking the option as stable. ## After the stabilisation diff --git a/src/comment.rs b/src/comment.rs index bc0e8774f49..2716fcb1ab1 100644 --- a/src/comment.rs +++ b/src/comment.rs @@ -210,7 +210,7 @@ pub(crate) fn combine_strs_with_missing_comments( // We have a missing comment between the first expression and the second expression. - // Peek the the original source code and find out whether there is a newline between the first + // Peek the original source code and find out whether there is a newline between the first // expression and the second expression or the missing comment. We will preserve the original // layout whenever possible. let original_snippet = context.snippet(span); diff --git a/src/config/options.rs b/src/config/options.rs index 408017d2432..22bd4ae8dd7 100644 --- a/src/config/options.rs +++ b/src/config/options.rs @@ -189,7 +189,7 @@ pub enum Color { pub enum Version { /// 1.x.y. When specified, rustfmt will format in the same style as 1.0.0. One, - /// 2.x.y. When specified, rustfmt will format in the the latest style. + /// 2.x.y. When specified, rustfmt will format in the latest style. Two, }