diff options
author | flip1995 <hello@philkrones.com> | 2019-08-27 10:39:50 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-08-28 18:18:40 +0200 |
commit | 451020187eb72c24371829192f7a508ea017cdf4 (patch) | |
tree | 464a65de96f3e84321949ae0abcf8f9fe745e5b0 | |
parent | e010ef554df0d22f3066c5096fe2a2c60508505c (diff) |
[Auto] bin/core/git: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | bin/core/imag-git/src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/core/imag-git/src/main.rs b/bin/core/imag-git/src/main.rs index 65cf9c75..4d1d02ce 100644 --- a/bin/core/imag-git/src/main.rs +++ b/bin/core/imag-git/src/main.rs @@ -151,19 +151,19 @@ fn main() { debug!("Error calling git"); match e.kind() { ErrorKind::NotFound => { - let _ = writeln!(out, "Cannot find 'git' executable") + writeln!(out, "Cannot find 'git' executable") .to_exit_code() .unwrap_or_exit(); ::std::process::exit(1); }, ErrorKind::PermissionDenied => { - let _ = writeln!(out, "No permission to execute: 'git'") + writeln!(out, "No permission to execute: 'git'") .to_exit_code() .unwrap_or_exit(); ::std::process::exit(1); }, _ => { - let _ = writeln!(out, "Error spawning: {:?}", e) + writeln!(out, "Error spawning: {:?}", e) .to_exit_code() .unwrap_or_exit(); ::std::process::exit(1); |