Skip to content

Commit b3d1e5c

Browse files
committed
remove async_trait attribute that is not related to dynamic dispatch
1 parent 1e60664 commit b3d1e5c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

database/src/selector.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ use std::{
2727
sync::Arc,
2828
};
2929

30-
use async_trait::async_trait;
31-
3230
use crate::{
3331
interpolate::Interpolate, metric::Metric, ArtifactId, ArtifactIdIter, Benchmark,
3432
CodegenBackend, Connection, Index, Lookup, Profile, Scenario,
@@ -175,7 +173,6 @@ impl<TestCase, T> SeriesResponse<TestCase, T> {
175173
}
176174
}
177175

178-
#[async_trait]
179176
pub trait BenchmarkQuery: Debug + Clone {
180177
type TestCase: TestCase;
181178

@@ -241,7 +238,6 @@ impl Default for CompileBenchmarkQuery {
241238
}
242239
}
243240

244-
#[async_trait]
245241
impl BenchmarkQuery for CompileBenchmarkQuery {
246242
type TestCase = CompileTestCase;
247243

@@ -360,7 +356,6 @@ impl Default for RuntimeBenchmarkQuery {
360356
}
361357
}
362358

363-
#[async_trait]
364359
impl BenchmarkQuery for RuntimeBenchmarkQuery {
365360
type TestCase = RuntimeTestCase;
366361

0 commit comments

Comments
 (0)