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/range.rs | |
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/range.rs')
-rw-r--r-- | components/script/dom/range.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/components/script/dom/range.rs b/components/script/dom/range.rs index 00e2d23ce76..c4699c7f8ff 100644 --- a/components/script/dom/range.rs +++ b/components/script/dom/range.rs @@ -1031,19 +1031,19 @@ impl WeakRangeVec { } /// Used for steps 2.1-2. when inserting a node. - /// https://dom.spec.whatwg.org/#concept-node-insert + /// <https://dom.spec.whatwg.org/#concept-node-insert> pub fn increase_above(&self, node: &Node, offset: u32, delta: u32) { self.map_offset_above(node, offset, |offset| offset + delta); } /// Used for steps 4-5. when removing a node. - /// https://dom.spec.whatwg.org/#concept-node-remove + /// <https://dom.spec.whatwg.org/#concept-node-remove> pub fn decrease_above(&self, node: &Node, offset: u32, delta: u32) { self.map_offset_above(node, offset, |offset| offset - delta); } /// Used for steps 2-3. when removing a node. - /// https://dom.spec.whatwg.org/#concept-node-remove + /// <https://dom.spec.whatwg.org/#concept-node-remove> pub fn drain_to_parent(&self, context: &UnbindContext, child: &Node) { if self.is_empty() { return; @@ -1072,7 +1072,7 @@ impl WeakRangeVec { } /// Used for steps 7.1-2. when normalizing a node. - /// https://dom.spec.whatwg.org/#dom-node-normalize + /// <https://dom.spec.whatwg.org/#dom-node-normalize> pub fn drain_to_preceding_text_sibling(&self, node: &Node, sibling: &Node, length: u32) { if self.is_empty() { return; @@ -1099,7 +1099,7 @@ impl WeakRangeVec { } /// Used for steps 7.3-4. when normalizing a node. - /// https://dom.spec.whatwg.org/#dom-node-normalize + /// <https://dom.spec.whatwg.org/#dom-node-normalize> pub fn move_to_text_child_at(&self, node: &Node, offset: u32, child: &Node, new_offset: u32) { @@ -1142,7 +1142,7 @@ impl WeakRangeVec { } /// Used for steps 8-11. when replacing character data. - /// https://dom.spec.whatwg.org/#concept-cd-replace + /// <https://dom.spec.whatwg.org/#concept-cd-replace> pub fn replace_code_units(&self, node: &Node, offset: u32, removed_code_units: u32, added_code_units: u32) { @@ -1156,7 +1156,7 @@ impl WeakRangeVec { } /// Used for steps 7.2-3. when splitting a text node. - /// https://dom.spec.whatwg.org/#concept-text-split + /// <https://dom.spec.whatwg.org/#concept-text-split> pub fn move_to_following_text_sibling_above(&self, node: &Node, offset: u32, sibling: &Node) { @@ -1202,7 +1202,7 @@ impl WeakRangeVec { } /// Used for steps 7.4-5. when splitting a text node. - /// https://dom.spec.whatwg.org/#concept-text-split + /// <https://dom.spec.whatwg.org/#concept-text-split> pub fn increment_at(&self, node: &Node, offset: u32) { unsafe { (*self.cell.get()).update(|entry| { |