chore: fix typos (#8013)

This commit is contained in:
yjh authored and GitHub committed 2021-02-01 11:54:13 +01:00
1 parent 9c0f51ab8b
commit 4da880ed41
5 files changed
+11 -11

No files matched your search

@@ -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>