about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2018-04-04 18:56:21 -0700
committerManish Goregaokar <manishsmail@gmail.com>2018-04-04 18:56:21 -0700
commitab281184497fcf79508e6c19c4214f8ebada20cb (patch)
tree7924e9f9ed1db81a2e0b6fa638ec26256668c0f8 /src
parent20466940295f0893dbcb9798a790394bd9070b7d (diff)
downloadrust-ab281184497fcf79508e6c19c4214f8ebada20cb.tar.gz
rust-ab281184497fcf79508e6c19c4214f8ebada20cb.zip
Fix driver dogfood bug
Diffstat (limited to 'src')
-rw-r--r--src/driver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver.rs b/src/driver.rs
index 73746798601..711b2e6fbd9 100644
--- a/src/driver.rs
+++ b/src/driver.rs
@@ -126,7 +126,7 @@ impl<'a> CompilerCalls<'a> for ClippyCompilerCalls {
 
 #[allow(print_stdout)]
 fn show_version() {
-    println!("{}", env!("CARGO_PKG_VERSION"));
+    println!(env!("CARGO_PKG_VERSION");
 }
 
 pub fn main() {