Skip to content

Commit

Permalink
chore: make nightly clippy happy (#676)
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI authored Nov 4, 2024
1 parent 17c7ef7 commit 38e4360
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions starknet-accounts/src/account/declaration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ where
}
}

impl<'a, A> PreparedDeclarationV2<'a, A>
impl<A> PreparedDeclarationV2<'_, A>
where
A: ConnectedAccount,
{
Expand Down Expand Up @@ -1069,7 +1069,7 @@ where
}
}

impl<'a, A> PreparedDeclarationV3<'a, A>
impl<A> PreparedDeclarationV3<'_, A>
where
A: ConnectedAccount,
{
Expand Down Expand Up @@ -1138,7 +1138,7 @@ where
}
}

impl<'a, A> PreparedLegacyDeclaration<'a, A>
impl<A> PreparedLegacyDeclaration<'_, A>
where
A: ConnectedAccount,
{
Expand Down
4 changes: 2 additions & 2 deletions starknet-accounts/src/account/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ where
}
}

impl<'a, A> PreparedExecutionV1<'a, A>
impl<A> PreparedExecutionV1<'_, A>
where
A: ConnectedAccount,
{
Expand Down Expand Up @@ -804,7 +804,7 @@ where
}
}

impl<'a, A> PreparedExecutionV3<'a, A>
impl<A> PreparedExecutionV3<'_, A>
where
A: ConnectedAccount,
{
Expand Down
4 changes: 2 additions & 2 deletions starknet-accounts/src/factory/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ impl<'f, F> PreparedAccountDeploymentV3<'f, F> {
}
}

impl<'f, F> PreparedAccountDeploymentV1<'f, F>
impl<F> PreparedAccountDeploymentV1<'_, F>
where
F: AccountFactory,
{
Expand Down Expand Up @@ -953,7 +953,7 @@ where
}
}

impl<'f, F> PreparedAccountDeploymentV3<'f, F>
impl<F> PreparedAccountDeploymentV3<'_, F>
where
F: AccountFactory,
{
Expand Down
4 changes: 2 additions & 2 deletions starknet-contract/src/factory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ where
}
}

impl<'f, A> DeploymentV1<'f, A>
impl<A> DeploymentV1<'_, A>
where
A: ConnectedAccount + Sync,
{
Expand Down Expand Up @@ -285,7 +285,7 @@ where
}
}

impl<'f, A> DeploymentV3<'f, A>
impl<A> DeploymentV3<'_, A>
where
A: ConnectedAccount + Sync,
{
Expand Down

0 comments on commit 38e4360

Please sign in to comment.