cargo fmt

This commit is contained in:
Bo Yao
2021-04-21 15:42:47 -07:00
parent 2eac442646
commit 24bcc9349e
224 changed files with 2778 additions and 7749 deletions

View File

@@ -41,12 +41,7 @@ where
exported: ExportFunction,
definition: FunctionDefinition,
) -> Self {
Self {
definition,
store,
exported,
_phantom: PhantomData,
}
Self { definition, store, exported, _phantom: PhantomData }
}
pub(crate) fn vmctx(&self) -> VMFunctionEnvironment {
@@ -97,11 +92,7 @@ where
Rets: WasmTypeList,
{
fn from(other: NativeFunc<Args, Rets>) -> Self {
Self {
store: other.store,
definition: other.definition,
exported: other.exported,
}
Self { store: other.store, definition: other.definition, exported: other.exported }
}
}