diff --git a/src/host.rs b/src/host.rs index e0d4092..998f16f 100644 --- a/src/host.rs +++ b/src/host.rs @@ -190,7 +190,7 @@ impl HostError { /// } /// }; /// -/// if self.check_signature(index, signature) { +/// if !self.check_signature(index, signature) { /// return Err(Error::Instantiation( /// format!("Export {} has a bad signature", field_name) /// ));