We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebe4a38 commit d8cbc4cCopy full SHA for d8cbc4c
opentelemetry-sdk/src/metrics/internal/sum.rs
@@ -47,7 +47,7 @@ impl<T: Number<T>> ValueMap<T> {
47
.take(BUCKET_COUNT)
48
.collect::<Vec<_>>()
49
.try_into()
50
- .unwrap_or_else(|_| panic!("Incorrect length"));
+ .unwrap();
51
52
ValueMap {
53
buckets: Arc::new(buckets),
0 commit comments