about summary refs log tree commit diff
path: root/clippy_lints/src/utils
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-11 22:49:18 +0000
committerbors <bors@rust-lang.org>2024-06-11 22:49:18 +0000
commitaaade2d12d3cf78fd9eb24bf7973e86433d6373d (patch)
treee969cd7518a4b18d254fbf61610006c2f6bb9520 /clippy_lints/src/utils
parent38d12a9bc0a3de87325bda797e9cc8110000d45d (diff)
parent2855a876a76e52cee0db2df0488f22b10e228d0f (diff)
Auto merge of #12855 - tesuji:fix-author-lint, r=Jarcho
Fix typos of author lint

changelog: none
Diffstat (limited to 'clippy_lints/src/utils')
-rw-r--r--clippy_lints/src/utils/author.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/utils/author.rs b/clippy_lints/src/utils/author.rs
index 4448c9ae3df..a3339cc62a9 100644
--- a/clippy_lints/src/utils/author.rs
+++ b/clippy_lints/src/utils/author.rs
@@ -733,7 +733,7 @@ impl<'a, 'tcx> PrintVisitor<'a, 'tcx> {
         match stmt.value.kind {
             StmtKind::Let(local) => {
                 bind!(self, local);
-                kind!("Local({local})");
+                kind!("Let({local})");
                 self.option(field!(local.init), "init", |init| {
                     self.expr(init);
                 });