about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2025-09-24 12:50:50 +0200
committerGitHub <noreply@github.com>2025-09-24 12:50:50 +0200
commit3378997867a9501beb3137f1ae508aadf1b9fc4b (patch)
tree32f4fb790b37b264db24fdc0bbab197e8811a058 /compiler
parent3b2bbcd87ebdf9c1a62b1169667481cafe6d8d5d (diff)
downloadrust-3378997867a9501beb3137f1ae508aadf1b9fc4b.tar.gz
rust-3378997867a9501beb3137f1ae508aadf1b9fc4b.zip
fix wording
Co-authored-by: Rémy Rakic <remy.rakic+github@gmail.com>
Diffstat (limited to 'compiler')
-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 e05c5b22485..be44dc955c2 100644
--- a/compiler/rustc_borrowck/src/type_check/mod.rs
+++ b/compiler/rustc_borrowck/src/type_check/mod.rs
@@ -540,7 +540,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
         }
 
         // If there are nested bodies in promoteds, we also need to update their
-        // location to something in the actually body, not the promoted.
+        // location to something in the actual body, not the promoted.
         //
         // We don't update the constraint categories of the resulting constraints
         // as returns in nested bodies are a proper return, even if that nested body