about summary refs log tree commit diff
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2025-03-06 14:46:10 +0100
committerGitHub <noreply@github.com>2025-03-06 14:46:10 +0100
commit1fac14de23b72b3d1d09a07dda52cc276d97f0ef (patch)
tree8e36b2a0b67ddb45683acd6b5959e7e7bbf5dc5d
parent71d688bb721037b9623ccb645e4f0557fb427fb3 (diff)
fix typo
Co-authored-by: Rémy Rakic <remy.rakic+github@gmail.com>
-rw-r--r--compiler/rustc_borrowck/src/type_check/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/type_check/mod.rs b/compiler/rustc_borrowck/src/type_check/mod.rs
index 746457d76e0..50e66e58d85 100644
--- a/compiler/rustc_borrowck/src/type_check/mod.rs
+++ b/compiler/rustc_borrowck/src/type_check/mod.rs
@@ -485,7 +485,7 @@ impl<'a, 'b, 'tcx> Visitor<'tcx> for TypeVerifier<'a, 'b, 'tcx> {
 
     #[instrument(level = "debug", skip(self))]
     fn visit_body(&mut self, body: &Body<'tcx>) {
-        // We intentionally do not recursive into `body.required_consts` or
+        // We intentionally do not recurse into `body.required_consts` or
         // `body.mentioned_items` here as the MIR at this phase should still
         // refer to all items and we don't want to check them multiple times.