Skip to content

Commit e1e1dcc

Browse files
committed
Changed the wording for the warnings lint
1 parent 8affcb7 commit e1e1dcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ Available lint options:
980980
println!("Lint groups provided by rustc:\n");
981981
println!(" {} {}", padded("name"), "sub-lints");
982982
println!(" {} {}", padded("----"), "---------");
983-
println!(" {} {}", padded("warnings"), "all lints activated to the warning level");
983+
println!(" {} {}", padded("warnings"), "all lints that are set to issue warnings");
984984

985985
let print_lint_groups = |lints: Vec<(&'static str, Vec<lint::LintId>)>| {
986986
for (name, to) in lints {

0 commit comments

Comments
 (0)