Clarify a comment.

This commit is contained in:
Nicholas Nethercote
2024-09-03 15:58:13 +10:00
parent 827fa43392
commit 0b2b03cf70
@@ -85,7 +85,8 @@ fn is_mir_dump_enabled(&self) -> bool {
}
}
/// Just like `MirPass`, except it cannot mutate `Body`.
/// Just like `MirPass`, except it cannot mutate `Body`, and MIR dumping is
/// disabled (via the `Lint` adapter).
pub(super) trait MirLint<'tcx> {
fn name(&self) -> &'static str {
// FIXME Simplify the implementation once more `str` methods get const-stable.