mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Clarify a comment.
This commit is contained in:
parent
827fa43392
commit
0b2b03cf70
@ -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…
Reference in New Issue
Block a user