Skip to content

Commit

Permalink
Make FacetCounts defaultable and cloneable. (#2322)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreichold authored Mar 5, 2024
1 parent 2650317 commit 40aa4ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/collector/facet_collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ impl SegmentCollector for FacetSegmentCollector {

/// Intermediary result of the `FacetCollector` that stores
/// the facet counts for all the segments.
#[derive(Default, Clone)]
pub struct FacetCounts {
facet_counts: BTreeMap<Facet, u64>,
}
Expand Down

0 comments on commit 40aa4ab

Please sign in to comment.