diff --git a/forc-plugins/forc-debug/src/types.rs b/forc-plugins/forc-debug/src/types.rs index f7ac814f539..7d1fb552abd 100644 --- a/forc-plugins/forc-debug/src/types.rs +++ b/forc-plugins/forc-debug/src/types.rs @@ -16,6 +16,7 @@ pub type SourceMap = HashMap; pub type Breakpoints = HashMap>; /// A map storing ABIs for contracts, capable of fetching ABIs from the registry for unknown contracts. +#[derive(Debug, Default)] pub struct AbiMap(HashMap); impl AbiMap { @@ -42,12 +43,6 @@ impl AbiMap { } } -impl Default for AbiMap { - fn default() -> Self { - Self(HashMap::new()) - } -} - impl Deref for AbiMap { type Target = HashMap; fn deref(&self) -> &Self::Target {