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 8f68b59 commit 3cf0bd3
Show file tree
Hide file tree
Showing 136 changed files with 1,135 additions and 0 deletions.
2 changes: 2 additions & 0 deletions servo/components/compositing/compositor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5512,6 +5512,7 @@ phase
/
/
/
<
http
:
/
Expand All @@ -5530,6 +5531,7 @@ events
mouse
-
events
>
fn
simulate_mouse_click
(
Expand Down
7 changes: 7 additions & 0 deletions servo/components/config/opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,9 @@ with
/
/
/
/
/
/
-
an
interval
Expand Down Expand Up @@ -622,6 +625,7 @@ FFFD
/
/
See
<
https
:
/
Expand All @@ -637,6 +641,7 @@ servo
issues
/
6564
>
pub
replace_surrogates
:
Expand Down Expand Up @@ -2083,6 +2088,7 @@ FFFD
/
/
See
<
https
:
/
Expand All @@ -2098,6 +2104,7 @@ servo
issues
/
6564
>
pub
replace_surrogates
:
Expand Down
2 changes: 2 additions & 0 deletions servo/components/constellation/browsingcontext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,7 @@ history
/
/
/
<
https
:
/
Expand All @@ -807,6 +808,7 @@ session
history
-
entry
>
#
[
derive
Expand Down
2 changes: 2 additions & 0 deletions servo/components/constellation/event_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ Rc
/
/
/
<
https
:
/
Expand All @@ -163,6 +164,7 @@ multipage
event
-
loop
>
pub
struct
EventLoop
Expand Down
4 changes: 4 additions & 0 deletions servo/components/layout/display_list_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6821,6 +6821,7 @@ provided
/
/
/
<
https
:
/
Expand All @@ -6841,6 +6842,7 @@ images
typedef
-
size
>
fn
convert_circle_size_keyword
(
Expand Down Expand Up @@ -7045,6 +7047,7 @@ provided
/
/
/
<
https
:
/
Expand All @@ -7065,6 +7068,7 @@ images
typedef
-
size
>
fn
convert_ellipse_size_keyword
(
Expand Down
2 changes: 2 additions & 0 deletions servo/components/layout/flex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2147,6 +2147,7 @@ main_size
/
/
/
<
https
:
/
Expand All @@ -2167,6 +2168,7 @@ resolve
flexible
-
lengths
>
pub
fn
flex_resolve
Expand Down
2 changes: 2 additions & 0 deletions servo/components/layout/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4870,6 +4870,7 @@ element
/
/
/
<
https
:
/
Expand All @@ -4886,6 +4887,7 @@ cssom
resolved
-
value
>
pub
fn
process_resolved_style_request
Expand Down
2 changes: 2 additions & 0 deletions servo/components/net/cookie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ None
/
/
/
<
http
:
/
Expand All @@ -403,6 +404,7 @@ section
5
.
3
>
pub
fn
new_wrapped
Expand Down
18 changes: 18 additions & 0 deletions servo/components/net/fetch/methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3573,6 +3573,7 @@ into
/
/
/
<
https
:
/
Expand All @@ -3593,6 +3594,7 @@ safelisted
request
-
header
>
pub
fn
is_cors_safelisted_request_header
Expand Down Expand Up @@ -3734,6 +3736,7 @@ ContentLanguage
/
/
/
<
https
:
/
Expand All @@ -3752,6 +3755,7 @@ cors
safelisted
-
method
>
pub
fn
is_cors_safelisted_method
Expand Down Expand Up @@ -3856,6 +3860,7 @@ false
/
/
/
<
https
:
/
Expand Down Expand Up @@ -3887,6 +3892,7 @@ to
-
nosniff
?
>
pub
fn
should_be_blocked_due_to_nosniff
Expand All @@ -3906,6 +3912,7 @@ bool
/
/
/
<
https
:
/
Expand All @@ -3928,6 +3935,7 @@ type
options
-
header
>
/
/
/
Expand Down Expand Up @@ -4267,6 +4275,7 @@ ContentType
/
/
/
<
https
:
/
Expand All @@ -4283,6 +4292,7 @@ multipage
/
#
scriptingLanguages
>
#
[
inline
Expand Down Expand Up @@ -4649,6 +4659,7 @@ false
/
/
/
<
https
:
/
Expand Down Expand Up @@ -4682,6 +4693,7 @@ mime
-
type
?
>
fn
should_be_blocked_due_to_mime_type
(
Expand Down Expand Up @@ -4816,6 +4828,7 @@ false
/
/
/
<
https
:
/
Expand All @@ -4834,6 +4847,7 @@ block
bad
-
port
>
pub
fn
should_be_blocked_due_to_bad_port
Expand Down Expand Up @@ -5006,6 +5020,7 @@ false
/
/
/
<
https
:
/
Expand All @@ -5022,6 +5037,7 @@ org
network
-
scheme
>
fn
is_network_scheme
(
Expand Down Expand Up @@ -5060,6 +5076,7 @@ https
/
/
/
<
https
:
/
Expand All @@ -5076,6 +5093,7 @@ org
bad
-
port
>
fn
is_bad_port
(
Expand Down
Loading

0 comments on commit 3cf0bd3

Please sign in to comment.