diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-10-17 16:04:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-17 16:04:10 -0500 |
commit | 0e62a5829b7c29ae2667a21a439aff1e89201bf3 (patch) | |
tree | 9732ccec4cccf1ebf7afa9027ad82d29ed064ea1 /components/script/dom/servoparser | |
parent | 00e2a1c62a04ae337f9008dcea8e265edd2d3ef4 (diff) | |
parent | efc3683cc7ceff0cd8c8528a168a78d42fb1a0e8 (diff) | |
download | servo-0e62a5829b7c29ae2667a21a439aff1e89201bf3.tar.gz servo-0e62a5829b7c29ae2667a21a439aff1e89201bf3.zip |
Auto merge of #18924 - mbrubeck:doc, r=Manishearth
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.
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because they are doc formatting changes only
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18924)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/servoparser')
-rw-r--r-- | components/script/dom/servoparser/async_html.rs | 2 | ||||
-rw-r--r-- | components/script/dom/servoparser/mod.rs | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/components/script/dom/servoparser/async_html.rs b/components/script/dom/servoparser/async_html.rs index 05df90c5c84..2c4e71047b5 100644 --- a/components/script/dom/servoparser/async_html.rs +++ b/components/script/dom/servoparser/async_html.rs @@ -730,7 +730,7 @@ impl TreeSink for Sink { self.send_op(ParseOperation::ReparentChildren { parent: parent.id, new_parent: new_parent.id }); } - /// https://html.spec.whatwg.org/multipage/#html-integration-point + /// <https://html.spec.whatwg.org/multipage/#html-integration-point> /// Specifically, the <annotation-xml> cases. fn is_mathml_annotation_xml_integration_point(&self, handle: &Self::Handle) -> bool { let node_data = self.get_parse_node_data(&handle.id); diff --git a/components/script/dom/servoparser/mod.rs b/components/script/dom/servoparser/mod.rs index f531250d382..f5f7943693e 100644 --- a/components/script/dom/servoparser/mod.rs +++ b/components/script/dom/servoparser/mod.rs @@ -88,11 +88,11 @@ pub struct ServoParser { last_chunk_received: Cell<bool>, /// Whether this parser should avoid passing any further data to the tokenizer. suspended: Cell<bool>, - /// https://html.spec.whatwg.org/multipage/#script-nesting-level + /// <https://html.spec.whatwg.org/multipage/#script-nesting-level> script_nesting_level: Cell<usize>, - /// https://html.spec.whatwg.org/multipage/#abort-a-parser + /// <https://html.spec.whatwg.org/multipage/#abort-a-parser> aborted: Cell<bool>, - /// https://html.spec.whatwg.org/multipage/#script-created-parser + /// <https://html.spec.whatwg.org/multipage/#script-created-parser> script_created_parser: bool, } @@ -198,7 +198,7 @@ impl ServoParser { /// Corresponds to the latter part of the "Otherwise" branch of the 'An end /// tag whose tag name is "script"' of - /// https://html.spec.whatwg.org/multipage/#parsing-main-incdata + /// <https://html.spec.whatwg.org/multipage/#parsing-main-incdata> /// /// This first moves everything from the script input to the beginning of /// the network input, effectively resetting the insertion point to just @@ -930,7 +930,7 @@ impl TreeSink for Sink { } } - /// https://html.spec.whatwg.org/multipage/#html-integration-point + /// <https://html.spec.whatwg.org/multipage/#html-integration-point> /// Specifically, the <annotation-xml> cases. fn is_mathml_annotation_xml_integration_point(&self, handle: &Dom<Node>) -> bool { let elem = handle.downcast::<Element>().unwrap(); |