mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
clippy fix
This commit is contained in:
parent
708819013f
commit
7e362d7ac8
@ -65,7 +65,7 @@ impl PluginModule {
|
|||||||
len: <MemoryModel as wasmer::MemorySize>::Offset,
|
len: <MemoryModel as wasmer::MemorySize>::Offset,
|
||||||
) -> <MemoryModel as wasmer::MemorySize>::Offset {
|
) -> <MemoryModel as wasmer::MemorySize>::Offset {
|
||||||
let out = match env.data().read_serialized(&env.as_store_ref(), ptr, len) {
|
let out = match env.data().read_serialized(&env.as_store_ref(), ptr, len) {
|
||||||
Ok(data) => retrieve_action(&env.data().ecs(), data),
|
Ok(data) => retrieve_action(env.data().ecs(), data),
|
||||||
Err(e) => Err(RetrieveError::BincodeError(e.to_string())),
|
Err(e) => Err(RetrieveError::BincodeError(e.to_string())),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user