mirror of
https://github.com/sharkdp/bat
synced 2026-08-09 19:51:48 +00:00
Enhance SyntaxMapping with impl Trait
This commit is contained in:
committed by
David Peter
parent
6b6a8f8e16
commit
348c9f3562
+1
-1
@@ -168,7 +168,7 @@ impl App {
|
||||
return Err("Invalid syntax mapping. The format of the -m/--map-syntax option is 'from:to'.".into());
|
||||
}
|
||||
|
||||
syntax_mapping.insert(parts[0].into(), parts[1].into());
|
||||
syntax_mapping.insert(parts[0], parts[1]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user