Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaBatty committed Jan 23, 2025
1 parent fc5fbb0 commit 2b21087
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions forc-plugins/forc-debug/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pub type SourceMap = HashMap<PathBuf, FileSourceMap>;
pub type Breakpoints = HashMap<PathBuf, Vec<Breakpoint>>;

/// A map storing ABIs for contracts, capable of fetching ABIs from the registry for unknown contracts.
#[derive(Debug, Default)]
pub struct AbiMap(HashMap<ContractId, ProgramABI>);

impl AbiMap {
Expand All @@ -42,12 +43,6 @@ impl AbiMap {
}
}

impl Default for AbiMap {
fn default() -> Self {
Self(HashMap::new())
}
}

impl Deref for AbiMap {
type Target = HashMap<ContractId, ProgramABI>;
fn deref(&self) -> &Self::Target {
Expand Down

0 comments on commit 2b21087

Please sign in to comment.