From c06fbc449d3a92b5a650ce5bddb28ebbfebf3aa7 Mon Sep 17 00:00:00 2001 From: crowlKats <13135287+crowlKats@users.noreply.github.com> Date: Thu, 8 Oct 2020 21:40:49 +0200 Subject: [PATCH] Fix typos (#7882) --- cli/permissions.rs | 2 +- core/error.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/permissions.rs b/cli/permissions.rs index d2f58de0a9..c2e11080e3 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 30aa887735..8a80e30246 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 {