about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJeong YunWon <jeong@youknowone.org>2022-04-15 19:33:16 +0900
committerJeong YunWon <jeong@youknowone.org>2022-04-15 19:33:16 +0900
commitb592cc659b5891606846ae9333d0d373c4a25dea (patch)
treeca9a2d33fa543366c40dc51587610669b30e2307
parent0bc93b67f55ed04de7b462af69f06407844c6531 (diff)
downloadrust-b592cc659b5891606846ae9333d0d373c4a25dea.tar.gz
rust-b592cc659b5891606846ae9333d0d373c4a25dea.zip
Fix typo in comment
-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);
         }