Skip to content

Commit 5c3e8a3

Browse files
committed
lint error fix
1 parent 999e99e commit 5c3e8a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opentelemetry/benches/noop_metrics.rs

+2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ fn noop_counter_add(c: &mut Criterion) {
6464
});
6565
});
6666

67+
#[allow(clippy::useless_vec)]
6768
c.bench_function("CreateVector_KeyValue", |b| {
6869
b.iter(|| {
6970
let _v1 = vec![
@@ -75,6 +76,7 @@ fn noop_counter_add(c: &mut Criterion) {
7576
});
7677
});
7778

79+
#[allow(clippy::useless_vec)]
7880
c.bench_function("CreateDynamicVector_StringPair", |b| {
7981
b.iter(|| {
8082
let _v1 = vec![

0 commit comments

Comments
 (0)