Skip to content

Commit a72110d

Browse files
committed
slice
1 parent 1608f8e commit a72110d

File tree

1 file changed

+1
-1
lines changed
  • opentelemetry-sdk/src/metrics

1 file changed

+1
-1
lines changed

opentelemetry-sdk/src/metrics/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ mod tests {
982982
}
983983

984984
fn find_datapoint_with_key_value<'a, T>(
985-
data_points: &'a Vec<DataPoint<T>>,
985+
data_points: &'a [DataPoint<T>],
986986
key: &str,
987987
value: &str,
988988
) -> Option<&'a DataPoint<T>> {

0 commit comments

Comments
 (0)