diff --git a/Cargo.lock b/Cargo.lock index bf98ad1..8efe65e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -688,7 +688,7 @@ dependencies = [ [[package]] name = "unblob-native" -version = "0.1.3" +version = "0.1.4" dependencies = [ "approx", "criterion", diff --git a/Cargo.toml b/Cargo.toml index bcafa40..d213195 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unblob-native" -version = "0.1.3" +version = "0.1.4" edition = "2021" license = "MIT" diff --git a/src/sandbox/mod.rs b/src/sandbox/mod.rs index 97804fd..ac9b48d 100644 --- a/src/sandbox/mod.rs +++ b/src/sandbox/mod.rs @@ -43,7 +43,7 @@ create_exception!(unblob_native.sandbox, PySandboxError, PyException); #[pyclass(eq, eq_int, name = "SandboxErrorKind")] #[derive(PartialEq)] enum PySandboxErrorKind { - NotImplementend, + NotImplemented, NotEnforced, Unknown, } @@ -52,7 +52,7 @@ impl From<&SandboxError> for PySandboxErrorKind { fn from(value: &SandboxError) -> Self { #[allow(unreachable_patterns)] // There are conditional pattern variants that may not exist match value { - SandboxError::NotImplemented => Self::NotImplementend, + SandboxError::NotImplemented => Self::NotImplemented, SandboxError::NotEnforced => Self::NotEnforced, _ => Self::Unknown, }