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/shadowroot.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/shadowroot.rs')
-rw-r--r-- | components/script/dom/shadowroot.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/shadowroot.rs b/components/script/dom/shadowroot.rs index 2c9e56d8352..6326e9fd9a7 100644 --- a/components/script/dom/shadowroot.rs +++ b/components/script/dom/shadowroot.rs @@ -217,12 +217,12 @@ impl ShadowRootMethods for ShadowRoot { elements } - /// https://dom.spec.whatwg.org/#dom-shadowroot-mode + /// <https://dom.spec.whatwg.org/#dom-shadowroot-mode> fn Mode(&self) -> ShadowRootMode { ShadowRootMode::Closed } - /// https://dom.spec.whatwg.org/#dom-shadowroot-host + /// <https://dom.spec.whatwg.org/#dom-shadowroot-host> fn Host(&self) -> DomRoot<Element> { let host = self.host.get(); host.expect("Trying to get host from a detached shadow root") |