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

Commit

Permalink
Merge pull request #2126 from Centril/patch-1
Browse files Browse the repository at this point in the history
holochain_metrics: use `StatsByMetric(...)` due to differing type params
  • Loading branch information
zippy authored Feb 24, 2020
2 parents b08c2ae + 7ade52c commit 789f16c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/metrics/src/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ impl<'a, D: DescriptiveStats + Clone + 'a> StatsByMetric<D> {
data.insert(GroupingKey::new(stream_id, metric_name), stat);
}

Ok(Self(data))
Ok(StatsByMetric(data))
}
}

Expand Down

0 comments on commit 789f16c

Please sign in to comment.