about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorCentri3 <114838443+Centri3@users.noreply.github.com>2023-06-03 18:07:36 -0500
committerCatherine <114838443+Centri3@users.noreply.github.com>2023-06-27 05:12:00 -0500
commit1bf74fc303d77be3ceef5b030d9fd73ca6031298 (patch)
treedf451b8521f17b69c94a24b2af2d05259e16097f /src
parentecdea8cdd386260970dad617cae2a71b25a307f5 (diff)
downloadrust-1bf74fc303d77be3ceef5b030d9fd73ca6031298.tar.gz
rust-1bf74fc303d77be3ceef5b030d9fd73ca6031298.zip
add `needless_raw_string_hashes` lint
add semicolon in doctest
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 300c84a1442..fd0da5a170b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -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}");