Skip to content

Commit

Permalink
Merge pull request #67 from onekey-sec/sandbox-typo
Browse files Browse the repository at this point in the history
Sandbox typo
  • Loading branch information
vlaci authored Oct 16, 2024
2 parents 40c3907 + af3979f commit 59ce177
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "unblob-native"
version = "0.1.3"
version = "0.1.4"
edition = "2021"
license = "MIT"

Expand Down
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 59ce177

Please sign in to comment.