Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 680c402

Browse files
committed
Comment nit
1 parent db90150 commit 680c402

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_middle/src/ty

1 file changed

+2
-2
lines changed

compiler/rustc_middle/src/ty/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3016,8 +3016,8 @@ impl<'tcx> TyCtxt<'tcx> {
30163016
| DefKind::AssocConst
30173017
| DefKind::Ctor(..)
30183018
| DefKind::AnonConst => self.mir_for_ctfe_opt_const_arg(def),
3019-
// If the caller wants `mir_for_ctfe` they should not be using `instance_mir`, so
3020-
// we'll assume const fn also wants the optimized version.
3019+
// If the caller wants `mir_for_ctfe` of a function they should not be using
3020+
// `instance_mir`, so we'll assume const fn also wants the optimized version.
30213021
_ => self.optimized_mir_or_const_arg_mir(def),
30223022
},
30233023
ty::InstanceDef::VtableShim(..)

0 commit comments

Comments
 (0)