Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update comment
  • Loading branch information
oli-obk committed Apr 5, 2019
1 parent 49025f3 commit cc66b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/transform/qualify_consts.rs
Expand Up @@ -817,7 +817,7 @@ impl<'a, 'tcx> Checker<'a, 'tcx> {
}
}

// Ensure the `IsNotPromotable` qualification is preserved.
// Ensure the `IsNotConst` qualification is preserved.
// NOTE(eddyb) this is actually unnecessary right now, as
// we never replace the local's qualif, but we might in
// the future, and so it serves to catch changes that unset
Expand Down

0 comments on commit cc66b17

Please sign in to comment.