Skip to content

Commit aa7dfa0

Browse files
committed
allow unused mut
1 parent b7380da commit aa7dfa0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opentelemetry-sdk/src/metrics/internal/histogram.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ pub(crate) struct Histogram<T: Number> {
7474
}
7575

7676
impl<T: Number> Histogram<T> {
77+
#[allow(unused_mut)]
7778
pub(crate) fn new(mut bounds: Vec<f64>, record_min_max: bool, record_sum: bool) -> Self {
7879
#[cfg(feature = "spec_unstable_metrics_views")]
7980
{

0 commit comments

Comments
 (0)