1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-08 19:41:45 +00:00

Fixes mut issue

This commit is contained in:
ms2300
2018-08-27 13:43:22 -06:00
committed by David Peter
parent f3dde0185d
commit 5444b0dfed
4 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -149,7 +149,7 @@ fn run() -> Result<bool> {
Ok(true)
}
_ => {
let mut config = app.config()?;
let config = app.config()?;
let assets = HighlightingAssets::new();
if app.matches.is_present("list-languages") {
@@ -157,7 +157,7 @@ fn run() -> Result<bool> {
Ok(true)
} else if app.matches.is_present("list-themes") {
list_themes(&assets, &mut config);
list_themes(&assets, &mut config.clone());
Ok(true)
} else {