Re-introduce fuzzy-matching on the new WorkTree implementation

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2021-04-15 18:18:53 +02:00
co-authored by Nathan Sobo
parent 070069d65e
commit cefc753123
4 changed files with 698 additions and 49 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ const TREE_BASE: usize = 2;
#[cfg(not(test))]
const TREE_BASE: usize = 6;
pub trait Item: Clone + Eq + fmt::Debug {
pub trait Item: Clone + fmt::Debug {
type Summary: for<'a> AddAssign<&'a Self::Summary> + Default + Clone + fmt::Debug;
fn summary(&self) -> Self::Summary;