We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ce9079 commit baa341cCopy full SHA for baa341c
crates/sol-type-parser/src/root.rs
@@ -137,7 +137,6 @@ impl<'a> RootType<'a> {
137
}
138
139
/// Returns `Ok(())` if the type is a basic Solidity type.
140
- #[inline]
141
pub fn try_basic_solidity(self) -> Result<()> {
142
match self.0 {
143
"address" | "bool" | "string" | "bytes" | "uint" | "int" | "function" => Ok(()),
crates/sol-type-parser/src/tuple.rs
@@ -91,7 +91,6 @@ impl<'a> TupleSpecifier<'a> {
91
92
93
/// Returns true if the type is a basic Solidity type.
94
95
pub fn try_basic_solidity(&self) -> Result<()> {
96
self.types.iter().try_for_each(TypeSpecifier::try_basic_solidity)
97
0 commit comments