Skip to content

Commit 379e7ea

Browse files
committed
Make the comment better
1 parent db62b53 commit 379e7ea

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_trait_selection/src/traits

1 file changed

+1
-1
lines changed

compiler/rustc_trait_selection/src/traits/misc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ pub fn type_allowed_to_implement_const_param_ty<'tcx>(
147147
let infcx = tcx.infer_ctxt().build(TypingMode::non_body_analysis());
148148
let ocx = traits::ObligationCtxt::new_with_diagnostics(&infcx);
149149

150-
// Make sure certain types are gated with #[unstable_feature_bound(unsized_const_params)]
150+
// Make sure impls certain types are gated with #[unstable_feature_bound(unsized_const_params)]
151151
if need_unstable_feature_bound {
152152
ocx.register_obligation(Obligation::new(
153153
tcx,

0 commit comments

Comments
 (0)