Add ability to specify user-defined functions for matcher
This commit is contained in:
@@ -27,7 +27,6 @@ pub fn count_leading(line: &str, c: char) -> usize {
|
||||
|
||||
pub fn format_range_unified(start:usize, end: usize) -> String {
|
||||
let mut beginning = start + 1;
|
||||
println!("{:?} {}", start, end);
|
||||
let length = end - start;
|
||||
if length == 1 {
|
||||
return beginning.to_string()
|
||||
|
||||
Reference in New Issue
Block a user