Skip to content

Commit 38e4360

Browse files
authored
chore: make nightly clippy happy (#676)
1 parent 17c7ef7 commit 38e4360

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

starknet-accounts/src/account/declaration.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ where
10191019
}
10201020
}
10211021

1022-
impl<'a, A> PreparedDeclarationV2<'a, A>
1022+
impl<A> PreparedDeclarationV2<'_, A>
10231023
where
10241024
A: ConnectedAccount,
10251025
{
@@ -1069,7 +1069,7 @@ where
10691069
}
10701070
}
10711071

1072-
impl<'a, A> PreparedDeclarationV3<'a, A>
1072+
impl<A> PreparedDeclarationV3<'_, A>
10731073
where
10741074
A: ConnectedAccount,
10751075
{
@@ -1138,7 +1138,7 @@ where
11381138
}
11391139
}
11401140

1141-
impl<'a, A> PreparedLegacyDeclaration<'a, A>
1141+
impl<A> PreparedLegacyDeclaration<'_, A>
11421142
where
11431143
A: ConnectedAccount,
11441144
{

starknet-accounts/src/account/execution.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ where
762762
}
763763
}
764764

765-
impl<'a, A> PreparedExecutionV1<'a, A>
765+
impl<A> PreparedExecutionV1<'_, A>
766766
where
767767
A: ConnectedAccount,
768768
{
@@ -804,7 +804,7 @@ where
804804
}
805805
}
806806

807-
impl<'a, A> PreparedExecutionV3<'a, A>
807+
impl<A> PreparedExecutionV3<'_, A>
808808
where
809809
A: ConnectedAccount,
810810
{

starknet-accounts/src/factory/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ impl<'f, F> PreparedAccountDeploymentV3<'f, F> {
881881
}
882882
}
883883

884-
impl<'f, F> PreparedAccountDeploymentV1<'f, F>
884+
impl<F> PreparedAccountDeploymentV1<'_, F>
885885
where
886886
F: AccountFactory,
887887
{
@@ -953,7 +953,7 @@ where
953953
}
954954
}
955955

956-
impl<'f, F> PreparedAccountDeploymentV3<'f, F>
956+
impl<F> PreparedAccountDeploymentV3<'_, F>
957957
where
958958
F: AccountFactory,
959959
{

starknet-contract/src/factory.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ where
257257
}
258258
}
259259

260-
impl<'f, A> DeploymentV1<'f, A>
260+
impl<A> DeploymentV1<'_, A>
261261
where
262262
A: ConnectedAccount + Sync,
263263
{
@@ -285,7 +285,7 @@ where
285285
}
286286
}
287287

288-
impl<'f, A> DeploymentV3<'f, A>
288+
impl<A> DeploymentV3<'_, A>
289289
where
290290
A: ConnectedAccount + Sync,
291291
{

0 commit comments

Comments
 (0)