chore(clippy): make clippy happy (#1888)

This commit is contained in:
Matthias Seitz 2022-11-23 16:35:38 +01:00 committed by GitHub
parent c17c0c3c95
commit 84f896f47b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ impl<M: Middleware> Contract<M> {
/// Returns an [`Event`](crate::builders::Event) builder for the provided event.
/// This function operates in a static context, then it does not require a `self`
/// to reference to instantiate an [`Event`](crate::builders::Event) builder.
pub fn event_of_type<'a, D: EthEvent>(client: &'a Arc<M>) -> Event<'a, M, D> {
pub fn event_of_type<D: EthEvent>(client: &Arc<M>) -> Event<M, D> {
Event {
provider: client,
filter: Filter::new().event(&D::abi_signature()),