Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejka committed Jul 3, 2024
1 parent fd8ee85 commit c8ec431
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ use super::{BlockId, BroadcastedDeclareTxn, BroadcastedDeployAccountTxn, Broadca
use crate::custom_serde::NumAsHex;
use alloc::string::String;
use alloc::vec::Vec;
use core::marker::PhantomData;
use serde::ser::SerializeMap;
use serde::{Deserialize, Serialize};
use std::marker::PhantomData;

pub type Address<F> = F;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ additional-imports = [
"super::{BlockId, BroadcastedDeclareTxn, BroadcastedDeployAccountTxn, BroadcastedInvokeTxn}",
"alloc::vec::Vec",
"alloc::string::String",
"std::marker::PhantomData"
"core::marker::PhantomData"
]
method-name-prefix = "starknet_"
param-types = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ use super::{
};
use alloc::string::String;
use alloc::vec::Vec;
use core::marker::PhantomData;
use serde::ser::SerializeMap;
use serde::{Deserialize, Serialize};
use std::marker::PhantomData;

#[derive(Eq, Hash, PartialEq, Serialize, Deserialize, Clone, Debug)]
pub enum CallType {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ additional-imports = [
"super::{FunctionCall, Event, MsgToL1, BlockId, FeeEstimate, BroadcastedTxn, StateDiff, TxnHash, ExecutionResources, ComputationResources}",
"alloc::vec::Vec",
"alloc::string::String",
"std::marker::PhantomData"
"core::marker::PhantomData"
]
method-name-prefix = "starknet_"
param-types = true
Expand Down
2 changes: 1 addition & 1 deletion crates/starknet-types-rpc/src/v0_7_1/starknet_write_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
//

use super::{BroadcastedDeclareTxn, BroadcastedDeployAccountTxn, BroadcastedInvokeTxn, TxnHash};
use core::marker::PhantomData;
use serde::ser::SerializeMap;
use serde::{Deserialize, Serialize};
use std::marker::PhantomData;

#[derive(Clone, Debug, Eq, Hash, PartialEq, Serialize, Deserialize)]
pub struct ClassAndTxnHash<F> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ run-rustfmt = true
[generation]
additional-imports = [
"super::{BroadcastedDeclareTxn, BroadcastedDeployAccountTxn, BroadcastedInvokeTxn, TxnHash}",
"std::marker::PhantomData"
"core::marker::PhantomData"
]
method-name-prefix = "starknet_"
param-types = true
Expand Down

0 comments on commit c8ec431

Please sign in to comment.