diff options
author | Feng Yu <f3n67u@gmail.com> | 2021-09-05 22:22:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-05 16:22:45 +0200 |
commit | bb99d5da4c9d7d17e08097d004bf36f0976a678c (patch) | |
tree | 358ad4c80ed7ebffc9f291ca84490b667012be24 /core/modules.rs | |
parent | f9d29115a0164a861c99b36a0919324920225e42 (diff) |
fix(doc): fix rustdoc bare_urls warning (#11921)
Diffstat (limited to 'core/modules.rs')
-rw-r--r-- | core/modules.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/modules.rs b/core/modules.rs index 3c8976c84..f1f083fe9 100644 --- a/core/modules.rs +++ b/core/modules.rs @@ -41,8 +41,8 @@ pub type ModuleLoadId = i32; /// /// Found module URL might be different from specified URL /// used for loading due to redirections (like HTTP 303). -/// Eg. Both "https://example.com/a.ts" and -/// "https://example.com/b.ts" may point to "https://example.com/c.ts" +/// Eg. Both "`https://example.com/a.ts`" and +/// "`https://example.com/b.ts`" may point to "`https://example.com/c.ts`" /// By keeping track of specified and found URL we can alias modules and avoid /// recompiling the same code 3 times. // TODO(bartlomieju): I have a strong opinion we should store all redirects @@ -65,7 +65,7 @@ pub trait ModuleLoader { /// Returns an absolute URL. /// When implementing an spec-complaint VM, this should be exactly the /// algorithm described here: - /// https://html.spec.whatwg.org/multipage/webappapis.html#resolve-a-module-specifier + /// <https://html.spec.whatwg.org/multipage/webappapis.html#resolve-a-module-specifier> /// /// `is_main` can be used to resolve from current working directory or /// apply import map for child imports. |