Clarify a comment.
This commit is contained in:
parent
827fa43392
commit
0b2b03cf70
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue