Skip to content

Commit

Permalink
replace async_trait' with '->impl' for trait 'TraceApiClient'
Browse files Browse the repository at this point in the history
  • Loading branch information
AbnerZheng committed Feb 23, 2024
1 parent d77af6a commit 7973503
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/rpc/rpc-testing-util/src/trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ pub type TraceFilterResult =
pub type TraceCallResult = Result<TraceResults, (RpcError, TraceCallRequest)>;

/// An extension trait for the Trace API.
#[async_trait::async_trait]
pub trait TraceApiExt {
/// The provider type that is used to make the requests.
type Provider;
Expand Down Expand Up @@ -236,7 +235,6 @@ impl<'a> std::fmt::Debug for ReplayTransactionStream<'a> {
}
}

#[async_trait::async_trait]
impl<T: TraceApiClient + Sync> TraceApiExt for T {
type Provider = T;

Expand Down

0 comments on commit 7973503

Please sign in to comment.