summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cli/rt/99_main.js2
-rw-r--r--core/core_test.js2
-rw-r--r--core/modules.rs2
-rw-r--r--core/normalize_path.rs2
-rw-r--r--core/ops.rs2
5 files changed, 5 insertions, 5 deletions
diff --git a/cli/rt/99_main.js b/cli/rt/99_main.js
index d7cf50588..b29d1a4f2 100644
--- a/cli/rt/99_main.js
+++ b/cli/rt/99_main.js
@@ -63,7 +63,7 @@ delete Object.prototype.__proto__;
opCloseWorker();
}
- // TODO(bartlomieju): remove these funtions
+ // TODO(bartlomieju): remove these functions
// Stuff for workers
const onmessage = () => {};
const onerror = () => {};
diff --git a/core/core_test.js b/core/core_test.js
index 7821f93a6..28bc7d2bf 100644
--- a/core/core_test.js
+++ b/core/core_test.js
@@ -28,7 +28,7 @@ function main() {
const h = q.head();
assert(h > 0);
- // This record's len is not divisble by
+ // This record's len is not divisible by
// 4 so after pushing it to the queue,
// next record offset should be aligned to 4.
let r = new Uint8Array([1, 2, 3, 4, 5]);
diff --git a/core/modules.rs b/core/modules.rs
index e12699ca9..f1f540b68 100644
--- a/core/modules.rs
+++ b/core/modules.rs
@@ -387,7 +387,7 @@ impl ModuleNameMap {
}
}
- /// Insert a name assocated module id.
+ /// Insert a name associated module id.
pub fn insert(&mut self, name: String, id: ModuleId) {
self.inner.insert(name, SymbolicModule::Mod(id));
}
diff --git a/core/normalize_path.rs b/core/normalize_path.rs
index 0124aedc7..e444af991 100644
--- a/core/normalize_path.rs
+++ b/core/normalize_path.rs
@@ -4,7 +4,7 @@ use std::path::Component;
use std::path::Path;
use std::path::PathBuf;
-/// Normalize all itermediate components of the path (ie. remove "./" and "../" components).
+/// Normalize all intermediate components of the path (ie. remove "./" and "../" components).
/// Similar to `fs::canonicalize()` but doesn't resolve symlinks.
///
/// Taken from Cargo
diff --git a/core/ops.rs b/core/ops.rs
index b7507156c..3351b6a5b 100644
--- a/core/ops.rs
+++ b/core/ops.rs
@@ -221,7 +221,7 @@ fn json_serialize_op_result(
}
/// Return map of resources with id as key
-/// and string representaion as value.
+/// and string representation as value.
///
/// This op must be wrapped in `json_op_sync`.
pub fn op_resources(