Skip to content

Commit

Permalink
wasmparser: Implement Eq and Hash for FuncType
Browse files Browse the repository at this point in the history
  • Loading branch information
fitzgen committed May 22, 2020
1 parent b022294 commit b822b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasmparser/src/primitives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ pub enum ExternalKind {
Global,
}

#[derive(Debug, Clone)]
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
pub struct FuncType {
pub params: Box<[Type]>,
pub returns: Box<[Type]>,
Expand Down

0 comments on commit b822b16

Please sign in to comment.