refactor/stdbuf ~ fix `cargo clippy` complaint (clippy::needless_borrow)
@@ -69,9 +69,9 @@ impl<'a> TryFrom<&ArgMatches<'a>> for ProgramOptions {
fn try_from(matches: &ArgMatches) -> Result<Self, Self::Error> {
Ok(ProgramOptions {
- stdin: check_option(&matches, options::INPUT)?,
- stdout: check_option(&matches, options::OUTPUT)?,
- stderr: check_option(&matches, options::ERROR)?,
+ stdin: check_option(matches, options::INPUT)?,
+ stdout: check_option(matches, options::OUTPUT)?,
+ stderr: check_option(matches, options::ERROR)?,
})
}
}
