cargo fmt

This commit is contained in:
Bo Yao
2021-04-21 16:06:12 -07:00
parent 4f220c474b
commit dadc81296a
222 changed files with 7728 additions and 2755 deletions

View File

@@ -41,7 +41,12 @@ where
exported: ExportFunction,
definition: FunctionDefinition,
) -> Self {
Self { definition, store, exported, _phantom: PhantomData }
Self {
definition,
store,
exported,
_phantom: PhantomData,
}
}
pub(crate) fn vmctx(&self) -> VMFunctionEnvironment {
@@ -92,7 +97,11 @@ 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,
}
}
}