Minor change

This commit is contained in:
sharkdp 2019-12-15 20:20:13 +01:00 committed by David Peter
parent f94ff93953
commit 40e5befdc7

View File

@ -196,7 +196,7 @@ impl App {
.map(String::from)
.or_else(|| env::var("BAT_THEME").ok())
.map(|s| {
if s == String::from("default") {
if s == "default" {
String::from(BAT_THEME_DEFAULT)
} else {
s