mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
Fix typos (#7882)
This commit is contained in:
parent
6897ea8ebe
commit
c06fbc449d
2 changed files with 2 additions and 2 deletions
|
@ -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)]
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue