refactor/stdbuf ~ fix cargo clippy complaint (clippy::needless_borrow)

This commit is contained in:
Roy Ivy III
2021-06-06 19:28:24 -05:00
parent c8c14ca40c
commit 6e98ea78ac
+3 -3
View File
@@ -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)?,
})
}
}