about summary refs log tree commit diff
path: root/compiler/rustc_lint
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-05-19 22:50:55 +0200
committerGitHub <noreply@github.com>2024-05-19 22:50:55 +0200
commitd5bef41ee5641a0872b4ca1fbf7b8dd12669d9d2 (patch)
treefccd99b26ea81a9f30053830c4e16e3fa1f9fd80 /compiler/rustc_lint
parent959a67a7f2215d80b55e765d6c4b3f5a711ad484 (diff)
parentc5c820e7fba55da41b09f9c862eb0f3c01f34a26 (diff)
downloadrust-d5bef41ee5641a0872b4ca1fbf7b8dd12669d9d2.tar.gz
rust-d5bef41ee5641a0872b4ca1fbf7b8dd12669d9d2.zip
Rollup merge of #124948 - blyxyas:remove-repeated-words, r=compiler-errors
chore: Remove repeated words (extension of #124924)

When I saw #124924 I thought "Hey, I'm sure that there are far more than just two typos of this nature in the codebase". So here's some more typo-fixing.

Some found with regex, some found with a spellchecker. Every single one manually reviewed by me (along with hundreds of false negatives by the tools)
Diffstat (limited to 'compiler/rustc_lint')
-rw-r--r--compiler/rustc_lint/src/non_local_def.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/non_local_def.rs b/compiler/rustc_lint/src/non_local_def.rs
index 885c0bb3a89..b3e93748a16 100644
--- a/compiler/rustc_lint/src/non_local_def.rs
+++ b/compiler/rustc_lint/src/non_local_def.rs
@@ -38,7 +38,7 @@ declare_lint! {
     ///
     /// Creating non-local definitions go against expectation and can create discrepancies
     /// in tooling. It should be avoided. It may become deny-by-default in edition 2024
-    /// and higher, see see the tracking issue <https://github.com/rust-lang/rust/issues/120363>.
+    /// and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>.
     ///
     /// An `impl` definition is non-local if it is nested inside an item and neither
     /// the type nor the trait are at the same nesting level as the `impl` block.