summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/check_unused.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-01-11 03:02:42 +0100
committerGitHub <noreply@github.com>2024-01-11 03:02:42 +0100
commit6238698ab5e72cac60c3bbce90b628fdbb6a500c (patch)
tree1c200db0eb94dbacd73ece6d7473945a9a837b95 /compiler/rustc_resolve/src/check_unused.rs
parent88493fca1362593283ace5796f3022f909b7b4c6 (diff)
parent894d1d4a255b8a704ebd7c6a423bff2be3dcba3c (diff)
downloadrust-6238698ab5e72cac60c3bbce90b628fdbb6a500c.tar.gz
rust-6238698ab5e72cac60c3bbce90b628fdbb6a500c.zip
Rollup merge of #119788 - mj10021:issue-119787-fix, r=oli-obk
change function name in comments

fixes #119787 where I believe an incorrect function name is used in the comments
Diffstat (limited to 'compiler/rustc_resolve/src/check_unused.rs')
-rw-r--r--compiler/rustc_resolve/src/check_unused.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/check_unused.rs b/compiler/rustc_resolve/src/check_unused.rs
index 3b1f957c890..0e43a35ce73 100644
--- a/compiler/rustc_resolve/src/check_unused.rs
+++ b/compiler/rustc_resolve/src/check_unused.rs
@@ -20,7 +20,7 @@
 //    separate step to be able to collapse the adjacent spans that rustfix
 //    will remove
 //
-//  - `check_crate` finally emits the diagnostics based on the data generated
+//  - `check_unused` finally emits the diagnostics based on the data generated
 //    in the last step
 
 use crate::imports::ImportKind;