diff --git a/cli/flags.rs b/cli/flags.rs index edfb04dcf2..68f96d646e 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 a1c2fa3ac2..ec5f12b6cc 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 dd5347a33d..4919fdfede 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 { diff --git a/core/modules.rs b/core/modules.rs index 722fa2cbea..bab701840f 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 7eeb612550..9885e5dc4b 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);