mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed clippy warnings
This commit is contained in:
parent
248e8f7706
commit
69dba49884
@ -168,7 +168,7 @@ fn reserve_wasm_memory_buffer<'a>(
|
||||
instance
|
||||
.exports
|
||||
.get::<Func<'a, i32, i32>>("wasm_prepare_buffer")
|
||||
.map_err(|e| MemoryAllocationError::AllocatorNotFound(e))?
|
||||
.map_err(MemoryAllocationError::AllocatorNotFound)?
|
||||
.call(value as i32)
|
||||
.map_err(|e| MemoryAllocationError::CantAllocate(e))
|
||||
.map_err(MemoryAllocationError::CantAllocate)
|
||||
}
|
Loading…
Reference in New Issue
Block a user