Fix errors from "make lint"

This commit is contained in:
Felix Schütt
2022-08-05 15:24:55 +02:00
parent ced8378f6e
commit 520314bbf0
19 changed files with 120 additions and 68 deletions

View File

@@ -15,7 +15,7 @@ use thiserror::Error;
use wasmer_types::{Bytes, MemoryStyle, MemoryType, Pages};
/// Error type describing things that can go wrong when operating on Wasm Memories.
#[derive(Error, Debug, Clone, PartialEq, Hash)]
#[derive(Error, Debug, Clone, Eq, PartialEq, Hash)]
pub enum MemoryError {
/// Low level error with mmap.
#[error("Error when allocating memory: {0}")]