Skip to content

Commit

Permalink
fix(sandbox): typo in PySandboxErrorKind::NotImplemented
Browse files Browse the repository at this point in the history
  • Loading branch information
vlaci committed Oct 16, 2024
1 parent 40c3907 commit 759ba0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sandbox/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand All @@ -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,
}
Expand Down

0 comments on commit 759ba0c

Please sign in to comment.