Support Rust 1.20.0

This commit is contained in:
Tuomas Siipola authored and David Peter committed 2018-07-05 19:12:41 +02:00
1 parent fb9b30c7f8
commit 5ccf1a4d61
1 file changed
+1 -1
+1 -1
View File
@@ -134,7 +134,7 @@ fn run_preparation_command(
command: &Option<Command>,
show_output: bool,
) -> io::Result<TimingResult> {
if let Some(ref cmd) = command {
if let &Some(ref cmd) = command {
let res = time_shell_command(cmd, show_output, CmdFailureAction::RaiseError, None);
if res.is_err() {
return Err(io::Error::new(