Skip to content

Commit

Permalink
Clarify a comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
nnethercote committed Sep 3, 2024
1 parent 827fa43 commit 0b2b03c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler/rustc_mir_transform/src/pass_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ pub(super) trait MirPass<'tcx> {
}
}

/// 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.
Expand Down

0 comments on commit 0b2b03c

Please sign in to comment.