add needless_raw_string_hashes lint

add semicolon in doctest
This commit is contained in:
Centri3 2023-06-03 18:07:36 -05:00 committed by Catherine
parent ecdea8cdd3
commit 1bf74fc303
18 changed files with 216 additions and 22 deletions

View file

@ -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}");