summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cli/flags.rs2
-rw-r--r--cli/http_util.rs2
-rw-r--r--core/module_specifier.rs2
-rw-r--r--core/modules.rs2
-rw-r--r--core/shared_queue.js2
5 files changed, 5 insertions, 5 deletions
diff --git a/cli/flags.rs b/cli/flags.rs
index edfb04dcf..68f96d646 100644
--- a/cli/flags.rs
+++ b/cli/flags.rs
@@ -1558,7 +1558,7 @@ mod tests {
r.unwrap(),
DenoFlags {
subcommand: DenoSubcommand::Info,
- argv: svec!["deno"], // TODO(ry) Ditto argv unnessary?
+ argv: svec!["deno"], // TODO(ry) Ditto argv unnecessary?
..DenoFlags::default()
}
);
diff --git a/cli/http_util.rs b/cli/http_util.rs
index a1c2fa3ac..ec5f12b6c 100644
--- a/cli/http_util.rs
+++ b/cli/http_util.rs
@@ -78,7 +78,7 @@ pub enum FetchOnceResult {
Redirect(Url),
}
-/// Asynchronously fetchs the given HTTP URL one pass only.
+/// Asynchronously fetches the given HTTP URL one pass only.
/// If no redirect is present and no error occurs,
/// yields Code(code, maybe_content_type).
/// If redirect occurs, does not follow and
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);