1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-03 03:42:26 +01:00

Implement trait Default for struct Config

This commit is contained in:
Fahmi Akbar Wildana
2019-10-15 08:18:26 +07:00
committed by David Peter
parent 0273848f54
commit 7208a63a49
3 changed files with 15 additions and 3 deletions

View File

@@ -89,7 +89,7 @@ pub enum RangeCheckResult {
AfterLastRange,
}
#[derive(Clone)]
#[derive(Clone, Default)]
pub struct LineRanges {
ranges: Vec<LineRange>,
largest_upper_bound: usize,