mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +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
|
@ -25,7 +25,7 @@ use std::rc::Rc;
|
|||
pub struct MicrotaskQueue {
|
||||
/// The list of enqueued microtasks that will be invoked at the next microtask checkpoint.
|
||||
microtask_queue: DomRefCell<Vec<Microtask>>,
|
||||
/// https://html.spec.whatwg.org/multipage/#performing-a-microtask-checkpoint
|
||||
/// <https://html.spec.whatwg.org/multipage/#performing-a-microtask-checkpoint>
|
||||
performing_a_microtask_checkpoint: Cell<bool>,
|
||||
}
|
||||
|
||||
|
@ -57,7 +57,7 @@ impl MicrotaskQueue {
|
|||
self.microtask_queue.borrow_mut().push(job);
|
||||
}
|
||||
|
||||
/// https://html.spec.whatwg.org/multipage/#perform-a-microtask-checkpoint
|
||||
/// <https://html.spec.whatwg.org/multipage/#perform-a-microtask-checkpoint>
|
||||
/// Perform a microtask checkpoint, executing all queued microtasks until the queue is empty.
|
||||
pub fn checkpoint<F>(&self, target_provider: F)
|
||||
where F: Fn(PipelineId) -> Option<DomRoot<GlobalScope>>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue