Use the core::matches
macro for enum variant equality checks
#127
Labels
f1-improvement
enhancing existing functionality
Description
Instead of using our
matches_variant
implementation fromgn-common/utils.rs
, we should use the built-in function for that.Solution
matches_variant
fromgn-common/utils.rs
matches_variant
withcore::matches!(...)
wherever needed (oracle + wasm code)The text was updated successfully, but these errors were encountered: