mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-13 13:58:38 +00:00
fix: Remove duplicate trait impl
This commit is contained in:
@@ -47,16 +47,6 @@ impl<Args: WasmTypeList, Rets: WasmTypeList> Clone for TypedFunction<Args, Rets>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<Args, Rets> From<TypedFunction<Args, Rets>> for Function
|
|
||||||
where
|
|
||||||
Args: WasmTypeList,
|
|
||||||
Rets: WasmTypeList,
|
|
||||||
{
|
|
||||||
fn from(other: TypedFunction<Args, Rets>) -> Self {
|
|
||||||
other.func
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
thread_local! {
|
thread_local! {
|
||||||
static ON_CALLED: Cell<Option<Box<dyn FnOnce(StoreMut<'_>) -> Result<OnCalledAction, Box<dyn std::error::Error + Send + Sync>>>>> = Cell::new(None);
|
static ON_CALLED: Cell<Option<Box<dyn FnOnce(StoreMut<'_>) -> Result<OnCalledAction, Box<dyn std::error::Error + Send + Sync>>>>> = Cell::new(None);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user