diff options
Diffstat (limited to 'runtime/ops')
-rw-r--r-- | runtime/ops/os/sys_info.rs | 2 | ||||
-rw-r--r-- | runtime/ops/runtime.rs | 2 | ||||
-rw-r--r-- | runtime/ops/web_worker/sync_fetch.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ops/os/sys_info.rs b/runtime/ops/os/sys_info.rs index 795e6bb0a..d51ac1fb4 100644 --- a/runtime/ops/os/sys_info.rs +++ b/runtime/ops/os/sys_info.rs @@ -385,7 +385,7 @@ pub fn os_uptime() -> u64 { #[cfg(target_family = "windows")] // SAFETY: windows API usage unsafe { - // Windows is the only one that returns `uptime` in milisecond precision, + // Windows is the only one that returns `uptime` in millisecond precision, // so we need to get the seconds out of it to be in sync with other envs. uptime = winapi::um::sysinfoapi::GetTickCount64() / 1000; } diff --git a/runtime/ops/runtime.rs b/runtime/ops/runtime.rs index 3f60c7437..175f18599 100644 --- a/runtime/ops/runtime.rs +++ b/runtime/ops/runtime.rs @@ -29,7 +29,7 @@ fn op_main_module(state: &mut OpState) -> Result<String, AnyError> { } /// This is an op instead of being done at initialization time because -/// it's expensive to retreive the ppid on Windows. +/// it's expensive to retrieve the ppid on Windows. #[op] pub fn op_ppid() -> i64 { #[cfg(windows)] diff --git a/runtime/ops/web_worker/sync_fetch.rs b/runtime/ops/web_worker/sync_fetch.rs index ba5f325d6..4b45f5eca 100644 --- a/runtime/ops/web_worker/sync_fetch.rs +++ b/runtime/ops/web_worker/sync_fetch.rs @@ -51,7 +51,7 @@ pub fn op_worker_sync_fetch( .clone(); // TODO(andreubotella): make the below thread into a resource that can be - // re-used. This would allow parallel fecthing of multiple scripts. + // re-used. This would allow parallel fetching of multiple scripts. let thread = std::thread::spawn(move || { let runtime = tokio::runtime::Builder::new_current_thread() |