mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
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.
This commit is contained in:
parent
aa3122e7d1
commit
efc3683cc7
137 changed files with 572 additions and 565 deletions
|
@ -41,7 +41,7 @@ pub struct AutoEntryScript {
|
|||
}
|
||||
|
||||
impl AutoEntryScript {
|
||||
/// https://html.spec.whatwg.org/multipage/#prepare-to-run-script
|
||||
/// <https://html.spec.whatwg.org/multipage/#prepare-to-run-script>
|
||||
pub fn new(global: &GlobalScope) -> Self {
|
||||
STACK.with(|stack| {
|
||||
trace!("Prepare to run script with {:p}", global);
|
||||
|
@ -58,7 +58,7 @@ impl AutoEntryScript {
|
|||
}
|
||||
|
||||
impl Drop for AutoEntryScript {
|
||||
/// https://html.spec.whatwg.org/multipage/#clean-up-after-running-script
|
||||
/// <https://html.spec.whatwg.org/multipage/#clean-up-after-running-script>
|
||||
fn drop(&mut self) {
|
||||
STACK.with(|stack| {
|
||||
let mut stack = stack.borrow_mut();
|
||||
|
@ -96,7 +96,7 @@ pub struct AutoIncumbentScript {
|
|||
}
|
||||
|
||||
impl AutoIncumbentScript {
|
||||
/// https://html.spec.whatwg.org/multipage/#prepare-to-run-a-callback
|
||||
/// <https://html.spec.whatwg.org/multipage/#prepare-to-run-a-callback>
|
||||
pub fn new(global: &GlobalScope) -> Self {
|
||||
// Step 2-3.
|
||||
unsafe {
|
||||
|
@ -120,7 +120,7 @@ impl AutoIncumbentScript {
|
|||
}
|
||||
|
||||
impl Drop for AutoIncumbentScript {
|
||||
/// https://html.spec.whatwg.org/multipage/#clean-up-after-running-a-callback
|
||||
/// <https://html.spec.whatwg.org/multipage/#clean-up-after-running-a-callback>
|
||||
fn drop(&mut self) {
|
||||
STACK.with(|stack| {
|
||||
// Step 4.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue