doc(host) Fix `check_signature` example

This commit is contained in:
Ivan Enderlin 2018-11-26 16:30:45 +01:00 committed by GitHub
parent 281c02d39d
commit b660e47f62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
/// ));