rustdoc: Fix many rustdoc errors (#31147)

This fixes many rustdoc errors that occur due to raw URLs in rustdoc
comments as well as unescaped Rust code that should be in backticks.
This commit is contained in:
Martin Robinson 2024-01-22 14:13:48 +01:00 committed by GitHub
parent d7de206dbd
commit 5c1723c983
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
185 changed files with 939 additions and 942 deletions

View file

@ -65,7 +65,7 @@ impl<T: QueuedTaskConversion> TaskQueue<T> {
}
/// Release previously held-back tasks for documents that are now fully-active.
/// https://html.spec.whatwg.org/multipage/#event-loop-processing-model:fully-active
/// <https://html.spec.whatwg.org/multipage/#event-loop-processing-model:fully-active>
fn release_tasks_for_fully_active_documents(
&self,
fully_active: &HashSet<PipelineId>,
@ -83,7 +83,7 @@ impl<T: QueuedTaskConversion> TaskQueue<T> {
}
/// Hold back tasks for currently not fully-active documents.
/// https://html.spec.whatwg.org/multipage/#event-loop-processing-model:fully-active
/// <https://html.spec.whatwg.org/multipage/#event-loop-processing-model:fully-active>
fn store_task_for_inactive_pipeline(&self, msg: T, pipeline_id: &PipelineId) {
let mut inactive = self.inactive.borrow_mut();
let inactive_queue = inactive.entry(pipeline_id.clone()).or_default();