diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2018-11-17 13:47:27 +0100 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2018-11-17 13:47:46 +0100 |
| commit | 3a11cd428902feafdc70c279d2dbc950f580db3f (patch) | |
| tree | 309c24431b7c718acc507f71416af819cefb84c4 /src | |
| parent | f5d868c9edfc6c2a9310d564a2f738bec67dfd6b (diff) | |
| download | rust-3a11cd428902feafdc70c279d2dbc950f580db3f.tar.gz rust-3a11cd428902feafdc70c279d2dbc950f580db3f.zip | |
remove unused allow() attributes, NFC
Diffstat (limited to 'src')
| -rw-r--r-- | src/driver.rs | 1 | ||||
| -rw-r--r-- | src/main.rs | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/driver.rs b/src/driver.rs index 9abe6bd91de..f99c37b8519 100644 --- a/src/driver.rs +++ b/src/driver.rs @@ -27,7 +27,6 @@ use std::convert::TryInto; use std::path::Path; use std::process::{exit, Command}; -#[allow(clippy::print_stdout)] fn show_version() { println!(env!("CARGO_PKG_VERSION")); } diff --git a/src/main.rs b/src/main.rs index 4a1dc487cea..be28fe12899 100644 --- a/src/main.rs +++ b/src/main.rs @@ -41,12 +41,10 @@ it to allow or deny lints from the code, eg.: #[cfg_attr(feature = "cargo-clippy", allow(needless_lifetimes))] "#; -#[allow(clippy::print_stdout)] fn show_help() { println!("{}", CARGO_CLIPPY_HELP); } -#[allow(clippy::print_stdout)] fn show_version() { let version_info = rustc_tools_util::get_version_info!(); println!("{}", version_info); |
