From bd03bda87879a1c5845df78ba1befdd96443668e Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sat, 25 Dec 2021 17:20:24 +0100 Subject: [PATCH] fix(solc): methods is object (#734) --- ethers-solc/src/artifacts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethers-solc/src/artifacts.rs b/ethers-solc/src/artifacts.rs index 2feb5534..be482683 100644 --- a/ethers-solc/src/artifacts.rs +++ b/ethers-solc/src/artifacts.rs @@ -726,7 +726,7 @@ pub struct DevDoc { #[serde(default, rename = "custom:experimental", skip_serializing_if = "Option::is_none")] pub custom_experimental: Option, #[serde(default, skip_serializing_if = "::std::collections::BTreeMap::is_empty")] - pub methods: BTreeMap, + pub methods: BTreeMap, #[serde(default, skip_serializing_if = "Option::is_none")] pub title: Option, }