Remove type annotation.

This commit is contained in:
Nathan Moreau 2019-04-12 02:16:02 +02:00 committed by David Peter
parent e3af9b0307
commit 588e344d5b

View file

@ -114,8 +114,7 @@ fn main() {
_ => atty::is(Stream::Stdout),
};
let path_separator: Option<String> =
matches.value_of("path-separator").map(|str| str.to_owned());
let path_separator = matches.value_of("path-separator").map(|str| str.to_owned());
#[cfg(windows)]
let colored_output = colored_output && ansi_term::enable_ansi_support().is_ok();