Document rustc_middle::lint::LevelSource
This is to clarify the difference between `LevelSource` and `LintLevelSource`. Appease x.py fmt.
This commit is contained in:
parent
aec3575aa7
commit
d3900d3775
2 changed files with 4 additions and 1 deletions
|
@ -45,6 +45,7 @@ impl LintLevelSource {
|
|||
}
|
||||
}
|
||||
|
||||
/// A tuple of a lint level and its source.
|
||||
pub type LevelSource = (Level, LintLevelSource);
|
||||
|
||||
pub struct LintLevelSets {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue