We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0ee7c9 commit 2a7be1bCopy full SHA for 2a7be1b
src/librustc/driver/mod.rs
@@ -255,7 +255,8 @@ Available lint options:
255
for (name, to) in lints.into_iter() {
256
let name = name.chars().map(|x| x.to_lowercase())
257
.collect::<String>().replace("_", "-");
258
- let desc = to.into_iter().map(|x| x.as_str()).collect::<Vec<String>>().connect(", ");
+ let desc = to.into_iter().map(|x| x.as_str().replace("_", "-"))
259
+ .collect::<Vec<String>>().connect(", ");
260
println!(" {} {}",
261
padded(name.as_slice()), desc);
262
}
0 commit comments