chore(clippy): make clippy happy (#1888)
This commit is contained in:
parent
c17c0c3c95
commit
84f896f47b
|
@ -195,7 +195,7 @@ impl<M: Middleware> Contract<M> {
|
||||||
/// Returns an [`Event`](crate::builders::Event) builder for the provided event.
|
/// 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`
|
/// This function operates in a static context, then it does not require a `self`
|
||||||
/// to reference to instantiate an [`Event`](crate::builders::Event) builder.
|
/// 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 {
|
Event {
|
||||||
provider: client,
|
provider: client,
|
||||||
filter: Filter::new().event(&D::abi_signature()),
|
filter: Filter::new().event(&D::abi_signature()),
|
||||||
|
|
Loading…
Reference in New Issue