Implement trait Default for struct Config

This commit is contained in:
Fahmi Akbar Wildana authored and David Peter committed 2019-10-20 21:43:51 +02:00
1 parent 0273848f54
commit 7208a63a49
3 files changed
+15 -3

No files matched your search

+1 -1
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,