Skip to content
This repository was archived by the owner on Feb 3, 2023. It is now read-only.

Commit 789f16c

Browse files
authored
Merge pull request #2126 from Centril/patch-1
holochain_metrics: use `StatsByMetric(...)` due to differing type params
2 parents b08c2ae + 7ade52c commit 789f16c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/metrics/src/stats.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ impl<'a, D: DescriptiveStats + Clone + 'a> StatsByMetric<D> {
523523
data.insert(GroupingKey::new(stream_id, metric_name), stat);
524524
}
525525

526-
Ok(Self(data))
526+
Ok(StatsByMetric(data))
527527
}
528528
}
529529

0 commit comments

Comments
 (0)