diff options
author | Matt Brubeck <mbrubeck@limpet.net> | 2017-10-17 09:39:20 -0700 |
---|---|---|
committer | Matt Brubeck <mbrubeck@limpet.net> | 2017-10-17 11:24:57 -0700 |
commit | efc3683cc7ceff0cd8c8528a168a78d42fb1a0e8 (patch) | |
tree | 66fa87d72ee1c1254baf153756888c49c3d2692f /components/script/dom/htmlscriptelement.rs | |
parent | aa3122e7d1beb6c72868baf80d565b0760641b1d (diff) | |
download | servo-efc3683cc7ceff0cd8c8528a168a78d42fb1a0e8.tar.gz servo-efc3683cc7ceff0cd8c8528a168a78d42fb1a0e8.zip |
Fix commonmark Markdown warnings in docs, part 1
Fixes warnings from rust-lang/rust#44229 when `--enable-commonmark` is
passed to rustdoc.
This is mostly a global find-and-replace for bare URIs on lines by
themselves in doc comments.
Diffstat (limited to 'components/script/dom/htmlscriptelement.rs')
-rw-r--r-- | components/script/dom/htmlscriptelement.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/components/script/dom/htmlscriptelement.rs b/components/script/dom/htmlscriptelement.rs index 1108f8438f8..1a21ce28a1c 100644 --- a/components/script/dom/htmlscriptelement.rs +++ b/components/script/dom/htmlscriptelement.rs @@ -49,13 +49,13 @@ use uuid::Uuid; pub struct HTMLScriptElement { htmlelement: HTMLElement, - /// https://html.spec.whatwg.org/multipage/#already-started + /// <https://html.spec.whatwg.org/multipage/#already-started> already_started: Cell<bool>, - /// https://html.spec.whatwg.org/multipage/#parser-inserted + /// <https://html.spec.whatwg.org/multipage/#parser-inserted> parser_inserted: Cell<bool>, - /// https://html.spec.whatwg.org/multipage/#non-blocking + /// <https://html.spec.whatwg.org/multipage/#non-blocking> /// /// (currently unused) non_blocking: Cell<bool>, @@ -190,7 +190,7 @@ impl FetchResponseListener for ScriptContext { } } - /// https://html.spec.whatwg.org/multipage/#fetch-a-classic-script + /// <https://html.spec.whatwg.org/multipage/#fetch-a-classic-script> /// step 4-9 fn process_response_eof(&mut self, response: Result<(), NetworkError>) { // Step 5. @@ -226,7 +226,7 @@ impl FetchResponseListener for ScriptContext { impl PreInvoke for ScriptContext {} -/// https://html.spec.whatwg.org/multipage/#fetch-a-classic-script +/// <https://html.spec.whatwg.org/multipage/#fetch-a-classic-script> fn fetch_a_classic_script(script: &HTMLScriptElement, kind: ExternalScriptKind, url: ServoUrl, @@ -286,7 +286,7 @@ fn fetch_a_classic_script(script: &HTMLScriptElement, } impl HTMLScriptElement { - /// https://html.spec.whatwg.org/multipage/#prepare-a-script + /// <https://html.spec.whatwg.org/multipage/#prepare-a-script> pub fn prepare(&self) { // Step 1. if self.already_started.get() { @@ -500,7 +500,7 @@ impl HTMLScriptElement { } } - /// https://html.spec.whatwg.org/multipage/#execute-the-script-block + /// <https://html.spec.whatwg.org/multipage/#execute-the-script-block> pub fn execute(&self, result: Result<ClassicScript, NetworkError>) { // Step 1. let doc = document_from_node(self); |