add needless_raw_string_hashes lint
add semicolon in doctest
This commit is contained in:
parent
ecdea8cdd3
commit
1bf74fc303
18 changed files with 216 additions and 22 deletions
|
|
@ -6,7 +6,7 @@ use std::env;
|
|||
use std::path::PathBuf;
|
||||
use std::process::{self, Command};
|
||||
|
||||
const CARGO_CLIPPY_HELP: &str = r#"Checks a package to catch common mistakes and improve your Rust code.
|
||||
const CARGO_CLIPPY_HELP: &str = r"Checks a package to catch common mistakes and improve your Rust code.
|
||||
|
||||
Usage:
|
||||
cargo clippy [options] [--] [<opts>...]
|
||||
|
|
@ -31,7 +31,7 @@ with:
|
|||
You can use tool lints to allow or deny lints from your code, e.g.:
|
||||
|
||||
#[allow(clippy::needless_lifetimes)]
|
||||
"#;
|
||||
";
|
||||
|
||||
fn show_help() {
|
||||
println!("{CARGO_CLIPPY_HELP}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue