Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

Commit 5ef2e87

Browse files
author
Jorge Aparicio
committed
fix the build for the *nix platforms
1 parent 1602590 commit 5ef2e87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/itmdump.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ fn run() -> Result<()> {
8686
}
8787
}
8888

89-
let mut stream = try!(File::open(&pipe)
90-
.chain_err(|| format!("couldn't open {}", pipe_)));
89+
try!(File::open(&pipe)
90+
.chain_err(|| format!("couldn't open {}", pipe_)))
9191
}
9292
#[cfg(not(unix))]
9393
() => {

0 commit comments

Comments
 (0)