diff options
author | EnokMan <416828041@qq.com> | 2020-01-02 20:48:46 +0800 |
---|---|---|
committer | Ry Dahl <ry@tinyclouds.org> | 2020-01-02 07:48:46 -0500 |
commit | d4f2fda62331164b09290f2df1500b948f2647a7 (patch) | |
tree | 0f7e1531c26ab9b830ffaef8971b08500278644d /core | |
parent | 55add2d366c5b3e19bd91958f3e3a36b4439839d (diff) |
fix typos (#3573)
Diffstat (limited to 'core')
-rw-r--r-- | core/module_specifier.rs | 2 | ||||
-rw-r--r-- | core/modules.rs | 2 | ||||
-rw-r--r-- | core/shared_queue.js | 2 |
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); |