diff options
-rw-r--r-- | cli/permissions.rs | 2 | ||||
-rw-r--r-- | core/error.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/permissions.rs b/cli/permissions.rs index d2f58de0a..c2e11080e 100644 --- a/cli/permissions.rs +++ b/cli/permissions.rs @@ -593,7 +593,7 @@ impl Permissions { pub fn check_hrtime(&self) -> Result<(), AnyError> { self .hrtime - .check("access to high precision time", "--allow-run") + .check("access to high precision time", "--allow-hrtime") } #[allow(clippy::too_many_arguments)] diff --git a/core/error.rs b/core/error.rs index 30aa88773..8a80e3024 100644 --- a/core/error.rs +++ b/core/error.rs @@ -51,7 +51,7 @@ pub fn bad_resource_id() -> AnyError { } pub fn not_supported() -> AnyError { - custom_error("NotSupported", "The operation is supported") + custom_error("NotSupported", "The operation is not supported") } pub fn resource_unavailable() -> AnyError { |