1
0
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:
Ole Martin Ruud
2018-11-27 04:40:54 +01:00
committed by David Peter
parent 6b6a8f8e16
commit 348c9f3562
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -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]);
}
}