1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
This commit is contained in:
crowlKats 2020-10-08 21:40:49 +02:00 committed by GitHub
parent 6897ea8ebe
commit c06fbc449d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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)]

View file

@ -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 {