Skip to content

Commit

Permalink
const-correctness might be confusing for C++ people
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jun 10, 2019
1 parent f2b49d9 commit b823cc1
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 @@ -618,7 +618,7 @@ impl ConstCx<'_, 'tcx> {
}
}

/// Checks MIR for const-correctness, using `ConstCx`
/// Checks MIR for being admissible as a compile-time constant, using `ConstCx`
/// for value qualifications, and accumulates writes of
/// rvalue/call results to locals, in `local_qualif`.
/// It also records candidates for promotion in `promotion_candidates`,
Expand Down

0 comments on commit b823cc1

Please sign in to comment.