Skip to content

Commit bebd2b5

Browse files
committed
fix clippy
1 parent a706e3b commit bebd2b5

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/fzf_common.rs

-13
Original file line numberDiff line numberDiff line change
@@ -545,19 +545,6 @@ mod utils {
545545
use norm::fzf::{FzfDistance, FzfParser, FzfQuery, FzfV1, FzfV2};
546546
use norm::{CaseSensitivity, Metric};
547547

548-
/// TODO: docs
549-
pub trait SortedRanges {
550-
fn sorted(&self) -> Vec<Range<usize>>;
551-
}
552-
553-
impl SortedRanges for &[Range<usize>] {
554-
fn sorted(&self) -> Vec<Range<usize>> {
555-
let mut sorted = self.to_vec();
556-
sorted.sort_by_key(|r| r.start);
557-
sorted
558-
}
559-
}
560-
561548
pub trait Fzf:
562549
Default
563550
+ for<'a> Metric<Query<'a> = FzfQuery<'a>, Distance = FzfDistance>

0 commit comments

Comments
 (0)