Implement PartialEq on FuncType.

This commit is contained in:
Peter Huene
2020-02-25 13:01:54 -08:00
parent 104919eb79
commit 07066835db
2 changed files with 2 additions and 6 deletions

View File

@@ -168,7 +168,7 @@ fn from_wasmtime_abiparam(param: &ir::AbiParam) -> Option<ValType> {
/// A descriptor for a function in a WebAssembly module.
///
/// WebAssembly functions can have 0 or more parameters and results.
#[derive(Debug, Clone)]
#[derive(Debug, Clone, PartialEq)]
pub struct FuncType {
params: Box<[ValType]>,
results: Box<[ValType]>,