1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-09 19:51:48 +00: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
+2 -2
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,