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:
committed by
David Peter
parent
7208a63a49
commit
2253d07341
+2
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user