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

Derive fmt::Debug whenever possible

This commit is contained in:
Fahmi Akbar Wildana
2019-10-15 08:25:53 +07:00
committed by David Peter
parent 7208a63a49
commit 2253d07341
7 changed files with 8 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
use crate::errors::*;
#[derive(Clone)]
#[derive(Debug, Clone)]
pub struct LineRange {
pub lower: usize,
pub upper: usize,
@@ -89,7 +89,7 @@ pub enum RangeCheckResult {
AfterLastRange,
}
#[derive(Clone, Default)]
#[derive(Debug, Clone, Default)]
pub struct LineRanges {
ranges: Vec<LineRange>,
largest_upper_bound: usize,