aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/performance.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-01-22 14:13:48 +0100
committerGitHub <noreply@github.com>2024-01-22 13:13:48 +0000
commit5c1723c9833c133e1af641533293e63d8723f8d3 (patch)
treec37778936ee0ffe88379632f5627cbb18710acda /components/script/dom/performance.rs
parentd7de206dbd459e8c8bf121f73755d12569c6cc55 (diff)
downloadservo-5c1723c9833c133e1af641533293e63d8723f8d3.tar.gz
servo-5c1723c9833c133e1af641533293e63d8723f8d3.zip
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.
Diffstat (limited to 'components/script/dom/performance.rs')
-rw-r--r--components/script/dom/performance.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/performance.rs b/components/script/dom/performance.rs
index 178f30a2a89..85b3f9800f3 100644
--- a/components/script/dom/performance.rs
+++ b/components/script/dom/performance.rs
@@ -57,7 +57,7 @@ const INVALID_ENTRY_NAMES: &'static [&'static str] = &[
/// Performance and PerformanceObserverEntryList interfaces implementations.
#[derive(JSTraceable, MallocSizeOf)]
pub struct PerformanceEntryList {
- /// https://w3c.github.io/performance-timeline/#dfn-performance-entry-buffer
+ /// <https://w3c.github.io/performance-timeline/#dfn-performance-entry-buffer>
entries: DOMPerformanceEntryList,
}
@@ -142,7 +142,7 @@ pub struct Performance {
observers: DomRefCell<Vec<PerformanceObserver>>,
pending_notification_observers_task: Cell<bool>,
navigation_start_precise: u64,
- /// https://w3c.github.io/performance-timeline/#dfn-maxbuffersize
+ /// <https://w3c.github.io/performance-timeline/#dfn-maxbuffersize>
/// The max-size of the buffer, set to 0 once the pipeline exits.
/// TODO: have one max-size per entry type.
resource_timing_buffer_size_limit: Cell<usize>,
@@ -372,7 +372,7 @@ impl Performance {
self.resource_timing_buffer_pending_full_event.set(false);
}
/// `add a PerformanceResourceTiming entry` paragraph of
- /// https://w3c.github.io/resource-timing/#sec-extensions-performance-interface
+ /// <https://w3c.github.io/resource-timing/#sec-extensions-performance-interface>
fn should_queue_resource_entry(&self, entry: &PerformanceEntry) -> bool {
// Step 1 is done in the args list.
if !self.resource_timing_buffer_pending_full_event.get() {