diff options
author | Martin Robinson <mrobinson@igalia.com> | 2024-01-22 14:13:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 13:13:48 +0000 |
commit | 5c1723c9833c133e1af641533293e63d8723f8d3 (patch) | |
tree | c37778936ee0ffe88379632f5627cbb18710acda /components/script/dom/window.rs | |
parent | d7de206dbd459e8c8bf121f73755d12569c6cc55 (diff) | |
download | servo-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/window.rs')
-rw-r--r-- | components/script/dom/window.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index c822c9cded4..10d6097b374 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -374,7 +374,7 @@ pub struct Window { #[ignore_malloc_size_of = "Rc is hard"] layout_marker: DomRefCell<Rc<Cell<bool>>>, - /// https://dom.spec.whatwg.org/#window-current-event + /// <https://dom.spec.whatwg.org/#window-current-event> current_event: DomRefCell<Option<Dom<Event>>>, } @@ -404,7 +404,7 @@ impl Window { } /// A convenience method for - /// https://html.spec.whatwg.org/multipage/#a-browsing-context-is-discarded + /// <https://html.spec.whatwg.org/multipage/#a-browsing-context-is-discarded> pub fn discard_browsing_context(&self) { let proxy = match self.window_proxy.get() { Some(proxy) => proxy, @@ -1593,7 +1593,7 @@ impl Window { current } - /// https://html.spec.whatwg.org/multipage/#window-post-message-steps + /// <https://html.spec.whatwg.org/multipage/#window-post-message-steps> fn post_message_impl( &self, target_origin: &USVString, @@ -2212,7 +2212,7 @@ impl Window { /// Commence a new URL load which will either replace this window or scroll to a fragment. /// - /// https://html.spec.whatwg.org/multipage/#navigating-across-documents + /// <https://html.spec.whatwg.org/multipage/#navigating-across-documents> pub fn load_url( &self, replace: HistoryEntryReplacement, |