summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/module_specifier.rs2
-rw-r--r--core/modules.rs2
-rw-r--r--core/shared_queue.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/core/module_specifier.rs b/core/module_specifier.rs
index dd5347a33..4919fdfed 100644
--- a/core/module_specifier.rs
+++ b/core/module_specifier.rs
@@ -122,7 +122,7 @@ impl ModuleSpecifier {
Ok(ModuleSpecifier(url))
}
- /// Converts a string representing an absulute URL into a ModuleSpecifier.
+ /// Converts a string representing an absolute URL into a ModuleSpecifier.
pub fn resolve_url(
url_str: &str,
) -> Result<ModuleSpecifier, ModuleResolutionError> {
diff --git a/core/modules.rs b/core/modules.rs
index 722fa2cbe..bab701840 100644
--- a/core/modules.rs
+++ b/core/modules.rs
@@ -509,7 +509,7 @@ impl Modules {
/// This is a tree structure representing the dependencies of a given module.
/// Use Modules::deps to construct it. The 'deps' member is None if this module
-/// was already seen elsewher in the tree.
+/// was already seen elsewhere in the tree.
#[derive(Debug, PartialEq)]
pub struct Deps {
pub name: String,
diff --git a/core/shared_queue.js b/core/shared_queue.js
index 7eeb61255..9885e5dc4 100644
--- a/core/shared_queue.js
+++ b/core/shared_queue.js
@@ -59,7 +59,7 @@ SharedQueue Binary Layout
}
function ops() {
- // op id 0 is a special value to retreive the map of registered ops.
+ // op id 0 is a special value to retrieve the map of registered ops.
const opsMapBytes = Deno.core.send(0, new Uint8Array([]), null);
const opsMapJson = String.fromCharCode.apply(null, opsMapBytes);
return JSON.parse(opsMapJson);