diff --git a/src/main.rs b/src/main.rs index e4acd13..c13353b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -150,7 +150,7 @@ fn run() -> Result<()> { // because we wrap the `BufReader` around the box, we only do that // dispatch once per buffer flush, not on every tiny write. let stdin = io::stdin(); - let unbuffered_input: Box = if let Some(ref path) = args.arg_input { + let unbuffered_input: Box = if let Some(ref path) = args.arg_input { Box::new(fs::File::open(path)?) } else { Box::new(stdin.lock())