mirror of
https://github.com/sharkdp/bat.git
synced 2025-03-14 06:38:24 +00:00
Rename and add comment to the match block.
This commit is contained in:
parent
ff7672be35
commit
13c81b9de7
@ -571,8 +571,8 @@ fn run() -> Result<()> {
|
||||
let longest = match languages.iter()
|
||||
.map(|s| s.name.len())
|
||||
.max() {
|
||||
Some(longlang) => longlang,
|
||||
None => 32,
|
||||
Some(length) => length,
|
||||
None => 32, // Fallback width if they have no language definitions.
|
||||
};
|
||||
|
||||
for lang in languages {
|
||||
|
Loading…
x
Reference in New Issue
Block a user