Remove add_summary_with_ctx and always require a ctx in add_summary
This commit is contained in:
+1
-1
@@ -538,7 +538,7 @@ impl Default for EntrySummary {
|
||||
impl sum_tree::Summary for EntrySummary {
|
||||
type Context = ();
|
||||
|
||||
fn add_summary(&mut self, rhs: &Self) {
|
||||
fn add_summary(&mut self, rhs: &Self, _: Option<&Self::Context>) {
|
||||
self.max_path = rhs.max_path.clone();
|
||||
self.file_count += rhs.file_count;
|
||||
self.visible_file_count += rhs.visible_file_count;
|
||||
|
||||
Reference in New Issue
Block a user