about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2018-11-17 13:47:27 +0100
committerMatthias Krüger <matthias.krueger@famsik.de>2018-11-17 13:47:46 +0100
commit3a11cd428902feafdc70c279d2dbc950f580db3f (patch)
tree309c24431b7c718acc507f71416af819cefb84c4 /src
parentf5d868c9edfc6c2a9310d564a2f738bec67dfd6b (diff)
downloadrust-3a11cd428902feafdc70c279d2dbc950f580db3f.tar.gz
rust-3a11cd428902feafdc70c279d2dbc950f580db3f.zip
remove unused allow() attributes, NFC
Diffstat (limited to 'src')
-rw-r--r--src/driver.rs1
-rw-r--r--src/main.rs2
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);