Supply a context when adding summary to Dimension
This commit is contained in:
@@ -89,7 +89,7 @@ impl<'a> Add<&'a Self> for OperationSummary {
|
||||
}
|
||||
|
||||
impl<'a> Dimension<'a, OperationSummary> for OperationKey {
|
||||
fn add_summary(&mut self, summary: &OperationSummary) {
|
||||
fn add_summary(&mut self, summary: &OperationSummary, _: &()) {
|
||||
assert!(*self <= summary.key);
|
||||
*self = summary.key;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user