mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-10-28 16:18:57 +00:00
Support Rust 1.20.0
This commit is contained in:
1 parent
fb9b30c7f8
commit
5ccf1a4d61
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user