summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/cron/01_cron.ts2
-rw-r--r--ext/node/ops/os/cpus.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/cron/01_cron.ts b/ext/cron/01_cron.ts
index 3341d1a78..7592e75ef 100644
--- a/ext/cron/01_cron.ts
+++ b/ext/cron/01_cron.ts
@@ -69,7 +69,7 @@ export function parseScheduleToString(
// Automatically override unspecified values for convenience. For example,
// to run every 2 hours, `{ hour: { every: 2 } }` can be specified without
- // explicitely specifying `minute`.
+ // explicitly specifying `minute`.
if (minute !== undefined) {
// Nothing to override.
} else if (hour !== undefined) {
diff --git a/ext/node/ops/os/cpus.rs b/ext/node/ops/os/cpus.rs
index bf83f7e7d..2e3d2a954 100644
--- a/ext/node/ops/os/cpus.rs
+++ b/ext/node/ops/os/cpus.rs
@@ -240,7 +240,7 @@ pub fn cpu_info() -> Option<Vec<CpuInfo>> {
pub fn cpu_info() -> Option<Vec<CpuInfo>> {
use std::io::BufRead;
- let mut cpus = vec![CpuInfo::new(); 8192]; /* Kernel maxmimum */
+ let mut cpus = vec![CpuInfo::new(); 8192]; /* Kernel maximum */
let fp = std::fs::File::open("/proc/stat").ok()?;
let reader = std::io::BufReader::new(fp);