doc(host) Fix `check_signature` example
This commit is contained in:
parent
281c02d39d
commit
b660e47f62
|
@ -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)
|
||||
/// ));
|
||||
|
|
Loading…
Reference in New Issue