diff options
author | crowlKats <13135287+crowlKats@users.noreply.github.com> | 2021-03-19 18:27:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-19 13:27:41 -0400 |
commit | 2d55090d8cb506305b9d485d927d2de7a20dc87d (patch) | |
tree | 9345b66f0d6f358ecb531fbcdd14b7dbc40b6297 /runtime/permissions.rs | |
parent | 91ca58fb2639a791237570e4f1fadda9eeb8c0bc (diff) |
refactor(runtime/ops/worker_host): simplify worker perms handling (#9835)
Diffstat (limited to 'runtime/permissions.rs')
-rw-r--r-- | runtime/permissions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/permissions.rs b/runtime/permissions.rs index 5d28a0640..5cd228002 100644 --- a/runtime/permissions.rs +++ b/runtime/permissions.rs @@ -25,7 +25,7 @@ use std::sync::Mutex; const PERMISSION_EMOJI: &str = "⚠️"; /// Tri-state value for storing permission state -#[derive(PartialEq, Debug, Clone, Copy, Deserialize)] +#[derive(PartialEq, Debug, Clone, Copy, Deserialize, PartialOrd)] pub enum PermissionState { Granted = 0, Prompt = 1, |