Fixed lints

This commit is contained in:
Syrus 2020-04-15 18:28:58 -07:00
parent 28351402aa
commit 21f7baec99

View File

@ -285,7 +285,7 @@ pub unsafe extern "C" fn wasmer_module_deserialize(
let serialized_module: &[u8] = &*(serialized_module as *const &[u8]);
match Artifact::deserialize(serialized_module) {
Ok(artifact) => match load_cache_with(artifact, &default_compiler()) {
Ok(artifact) => match load_cache_with(artifact, &*default_compiler()) {
Ok(deserialized_module) => {
*module = Box::into_raw(Box::new(deserialized_module)) as _;
wasmer_result_t::WASMER_OK