diff --git a/tests/fzf_common.rs b/tests/fzf_common.rs index a11a44e..3af581a 100644 --- a/tests/fzf_common.rs +++ b/tests/fzf_common.rs @@ -545,19 +545,6 @@ mod utils { use norm::fzf::{FzfDistance, FzfParser, FzfQuery, FzfV1, FzfV2}; use norm::{CaseSensitivity, Metric}; - /// TODO: docs - pub trait SortedRanges { - fn sorted(&self) -> Vec>; - } - - impl SortedRanges for &[Range] { - fn sorted(&self) -> Vec> { - let mut sorted = self.to_vec(); - sorted.sort_by_key(|r| r.start); - sorted - } - } - pub trait Fzf: Default + for<'a> Metric = FzfQuery<'a>, Distance = FzfDistance>