mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-26 20:16:33 +00:00
Applied linter fixes
This commit is contained in:
1 parent
a21ae614e6
commit
82f14121bd
12 files changed
+37
-44
No files matched your search
+1
-1
@@ -51,7 +51,7 @@ impl OutputType {
|
||||
|
||||
let pager = pager_from_config
|
||||
.or(pager_from_env)
|
||||
.unwrap_or(String::from("less"));
|
||||
.unwrap_or_else(|| String::from("less"));
|
||||
|
||||
let pagerflags =
|
||||
shell_words::split(&pager).chain_err(|| "Could not parse pager command.")?;
|
||||
|
||||
Reference in new issue
Block a user