chore: fix typos (#8013)

This commit is contained in:
yjh
2021-02-01 18:54:13 +08:00
committed by GitHub
parent 9c0f51ab8b
commit 4da880ed41
5 changed files with 11 additions and 11 deletions
@@ -88,7 +88,7 @@ pub trait ChainExtension {
///
/// # Return
///
/// In case of `Err` the contract execution is immediatly suspended and the passed error
/// In case of `Err` the contract execution is immediately suspended and the passed error
/// is returned to the caller. Otherwise the value of [`RetVal`] determines the exit
/// behaviour.
fn call<E: Ext>(func_id: u32, env: Environment<E, InitState>) -> Result<RetVal>