diff --git a/cli/rt/99_main.js b/cli/rt/99_main.js index d7cf50588e..b29d1a4f2d 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 7821f93a6b..28bc7d2bf5 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 e12699ca91..f1f540b68a 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 0124aedc70..e444af9918 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 b7507156cd..3351b6a5b2 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(