Skip to content
Permalink
Browse files

const-correctness might be confusing for C++ people

  • Loading branch information...
RalfJung committed Jun 6, 2019
1 parent f2b49d9 commit b823cc1ece209bcdb4c99f7c26c10c538b8c1f89
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/librustc_mir/transform/qualify_consts.rs
@@ -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`,

0 comments on commit b823cc1

Please sign in to comment.
You can’t perform that action at this time.