diff options
author | crowlKats <13135287+crowlKats@users.noreply.github.com> | 2020-10-08 21:40:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-08 15:40:49 -0400 |
commit | c06fbc449d3a92b5a650ce5bddb28ebbfebf3aa7 (patch) | |
tree | 398cc76954258e4f974d6f5522f8332bfd714188 | |
parent | 6897ea8ebe39b335fe268a315a89786b3af609d6 (diff) |
Fix typos (#7882)
-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 { |