about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-15 10:38:47 +0000
committerbors <bors@rust-lang.org>2022-04-15 10:38:47 +0000
commitc0fce5a8475927a7dc5f56f4efb2468aa87a4da0 (patch)
treeca9a2d33fa543366c40dc51587610669b30e2307
parent0bc93b67f55ed04de7b462af69f06407844c6531 (diff)
parentb592cc659b5891606846ae9333d0d373c4a25dea (diff)
Auto merge of #8702 - youknowone:fix-typo, r=xFrednet
Fix typo in comment

*Please write a short comment explaining your change (or "none" for internal only changes)*

changelog: none
-rw-r--r--clippy_lints/src/matches/needless_match.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/matches/needless_match.rs b/clippy_lints/src/matches/needless_match.rs
index 2105a03e03a..d6c8e472552 100644
--- a/clippy_lints/src/matches/needless_match.rs
+++ b/clippy_lints/src/matches/needless_match.rs
@@ -83,7 +83,7 @@ fn check_if_let(cx: &LateContext<'_>, if_let: &higher::IfLet<'_>) -> bool {
             return false;
         }
 
-        // Recurrsively check for each `else if let` phrase,
+        // Recursively check for each `else if let` phrase,
         if let Some(ref nested_if_let) = higher::IfLet::hir(cx, if_else) {
             return check_if_let(cx, nested_if_let);
         }