Changed the wording for the warnings lint

This commit is contained in:
Tobias Bucher 2017-12-01 20:28:01 +01:00
parent 8affcb7bd4
commit e1e1dcc8d8

View file

@ -980,7 +980,7 @@ Available lint options:
println!("Lint groups provided by rustc:\n");
println!(" {} {}", padded("name"), "sub-lints");
println!(" {} {}", padded("----"), "---------");
println!(" {} {}", padded("warnings"), "all lints activated to the warning level");
println!(" {} {}", padded("warnings"), "all lints that are set to issue warnings");
let print_lint_groups = |lints: Vec<(&'static str, Vec<lint::LintId>)>| {
for (name, to) in lints {