Skip to content

Commit

Permalink
servo: Merge #18924 - Fix commonmark Markdown warnings in docs, part …
Browse files Browse the repository at this point in the history
…1 (from mbrubeck:doc); r=Manishearth

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

Source-Repo: https://github.com/servo/servo
Source-Revision: 0e62a5829b7c29ae2667a21a439aff1e89201bf3

UltraBlame original commit: 27bc43d5d11ced40c6014d9055825993935d185e
  • Loading branch information
marco-c committed Oct 2, 2019
1 parent 81cbb6d commit c249241
Show file tree
Hide file tree
Showing 15 changed files with 167 additions and 0 deletions.
2 changes: 2 additions & 0 deletions servo/components/script/dom/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12825,6 +12825,7 @@ instead
/
/
/
<
https
:
/
Expand All @@ -12840,6 +12841,7 @@ servo
issues
/
16027
>
/
/
/
Expand Down
14 changes: 14 additions & 0 deletions servo/components/script/dom/element.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15361,6 +15361,7 @@ height
/
/
/
<
https
:
/
Expand All @@ -15381,6 +15382,7 @@ widl
Element
-
innerHTML
>
fn
GetInnerHTML
(
Expand Down Expand Up @@ -15477,6 +15479,7 @@ qname
/
/
/
<
https
:
/
Expand All @@ -15497,6 +15500,7 @@ widl
Element
-
innerHTML
>
fn
SetInnerHTML
(
Expand Down Expand Up @@ -20860,6 +20864,7 @@ events
/
/
/
<
https
:
/
Expand All @@ -20884,6 +20889,7 @@ click
activation
-
steps
>
/
/
/
Expand Down Expand Up @@ -21477,6 +21483,7 @@ IN_ACTIVE_STATE
/
/
/
<
https
:
/
Expand All @@ -21497,6 +21504,7 @@ concept
selector
-
active
>
pub
fn
set_active_state
Expand Down Expand Up @@ -21945,6 +21953,7 @@ value
/
/
/
<
https
:
/
Expand All @@ -21959,6 +21968,7 @@ org
/
#
connected
>
pub
fn
is_connected
Expand Down Expand Up @@ -22369,6 +22379,7 @@ value
/
/
/
<
https
:
/
Expand All @@ -22387,6 +22398,7 @@ attribute
is
-
set
>
Set
(
Option
Expand All @@ -22408,6 +22420,7 @@ removed
/
/
/
<
https
:
/
Expand All @@ -22426,6 +22439,7 @@ attribute
is
-
removed
>
Removed
}
impl
Expand Down
4 changes: 4 additions & 0 deletions servo/components/script/dom/htmlanchorelement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4446,6 +4446,7 @@ bool
/
/
/
<
https
:
/
Expand Down Expand Up @@ -4484,6 +4485,7 @@ browsing
context
-
name
>
fn
is_current_browsing_context
(
Expand Down Expand Up @@ -4512,6 +4514,7 @@ _self
/
/
/
<
https
:
/
Expand All @@ -4532,6 +4535,7 @@ following
hyperlinks
-
2
>
pub
fn
follow_hyperlink
Expand Down
2 changes: 2 additions & 0 deletions servo/components/script/dom/htmlinputelement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4123,6 +4123,7 @@ group
/
/
/
<
https
:
/
Expand All @@ -4147,6 +4148,7 @@ form
data
-
set
>
/
/
/
Expand Down
2 changes: 2 additions & 0 deletions servo/components/script/dom/htmllinkelement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1776,6 +1776,7 @@ HTMLLinkElement
/
/
/
<
https
:
/
Expand All @@ -1796,6 +1797,7 @@ concept
link
-
obtain
>
fn
handle_stylesheet_url
(
Expand Down
2 changes: 2 additions & 0 deletions servo/components/selectors/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ See
/
/
/
<
https
:
/
Expand All @@ -535,6 +536,7 @@ rust
issues
/
26925
>
pub
trait
SelectorImpl
Expand Down
20 changes: 20 additions & 0 deletions servo/components/style/counter_style/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1519,6 +1519,7 @@ counter_style_descriptors
/
/
/
<
https
:
/
Expand All @@ -1541,6 +1542,7 @@ counter
style
-
system
>
"
system
"
Expand All @@ -1559,6 +1561,7 @@ Symbolic
/
/
/
<
https
:
/
Expand All @@ -1581,6 +1584,7 @@ counter
style
-
negative
>
"
negative
"
Expand Down Expand Up @@ -1612,6 +1616,7 @@ None
/
/
/
<
https
:
/
Expand All @@ -1634,6 +1639,7 @@ counter
style
-
prefix
>
"
prefix
"
Expand All @@ -1660,6 +1666,7 @@ to_owned
/
/
/
<
https
:
/
Expand All @@ -1682,6 +1689,7 @@ counter
style
-
suffix
>
"
suffix
"
Expand Down Expand Up @@ -1709,6 +1717,7 @@ to_owned
/
/
/
<
https
:
/
Expand All @@ -1731,6 +1740,7 @@ counter
style
-
range
>
"
range
"
Expand Down Expand Up @@ -1762,6 +1772,7 @@ auto
/
/
/
<
https
:
/
Expand All @@ -1784,6 +1795,7 @@ counter
style
-
pad
>
"
pad
"
Expand Down Expand Up @@ -1814,6 +1826,7 @@ to_owned
/
/
/
<
https
:
/
Expand All @@ -1836,6 +1849,7 @@ counter
style
-
fallback
>
"
fallback
"
Expand Down Expand Up @@ -1890,6 +1904,7 @@ decimal
/
/
/
<
https
:
/
Expand All @@ -1914,6 +1929,7 @@ counter
style
-
symbols
>
"
symbols
"
Expand All @@ -1927,6 +1943,7 @@ Symbols
/
/
/
<
https
:
/
Expand All @@ -1953,6 +1970,7 @@ style
additive
-
symbols
>
"
additive
-
Expand All @@ -1968,6 +1986,7 @@ AdditiveSymbols
/
/
/
<
https
:
/
Expand All @@ -1992,6 +2011,7 @@ style
speak
-
as
>
"
speak
-
Expand Down
Loading

0 comments on commit c249241

Please sign in to comment.