about summary refs log tree commit diff
diff options
context:
space:
mode:
authormj10021 <jamesthespeedy@gmail.com>2024-01-09 18:39:53 -0500
committerGitHub <noreply@github.com>2024-01-09 18:39:53 -0500
commit894d1d4a255b8a704ebd7c6a423bff2be3dcba3c (patch)
tree34df6acda3fb78ef9958a741379d3ce894d26da6
parent276b75a843af8822ffe4e395266d9445679a57a4 (diff)
downloadrust-894d1d4a255b8a704ebd7c6a423bff2be3dcba3c.tar.gz
rust-894d1d4a255b8a704ebd7c6a423bff2be3dcba3c.zip
change function name in comments
-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 b2578e4c4b4..1b439605c52 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;