diff options
Diffstat (limited to 'src/args.rs')
-rw-r--r-- | src/args.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/args.rs b/src/args.rs index 5d2e6880..82f7ee66 100644 --- a/src/args.rs +++ b/src/args.rs @@ -601,7 +601,7 @@ impl<'a> ArgMatches<'a> { if self.is_present("no-line-number") || self.is_present("count") { false } else { - let only_stdin = paths == &[Path::new("-")]; + let only_stdin = paths == [Path::new("-")]; (atty::is(atty::Stream::Stdout) && !only_stdin) || self.is_present("line-number") || self.is_present("column") |