From 759ba0c935ffda9d649d7959679cff7adb72185c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Vask=C3=B3?= <1771332+vlaci@users.noreply.github.com> Date: Wed, 16 Oct 2024 17:30:58 +0200 Subject: [PATCH] fix(sandbox): typo in PySandboxErrorKind::NotImplemented --- src/sandbox/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, }