Skip to content

Commit 3378997

Browse files
lcnrlqd
andauthored
fix wording
Co-authored-by: Rémy Rakic <remy.rakic+github@gmail.com>
1 parent 3b2bbcd commit 3378997

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_borrowck/src/type_check

1 file changed

+1
-1
lines changed

compiler/rustc_borrowck/src/type_check/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
540540
}
541541

542542
// If there are nested bodies in promoteds, we also need to update their
543-
// location to something in the actually body, not the promoted.
543+
// location to something in the actual body, not the promoted.
544544
//
545545
// We don't update the constraint categories of the resulting constraints
546546
// as returns in nested bodies are a proper return, even if that nested body

0 commit comments

Comments
 (0)