mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
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:
parent
d7de206dbd
commit
5c1723c983
185 changed files with 939 additions and 942 deletions
|
@ -464,7 +464,7 @@ impl CustomElementRegistryMethods for CustomElementRegistry {
|
|||
// Step 6
|
||||
promise
|
||||
}
|
||||
/// https://html.spec.whatwg.org/multipage/#dom-customelementregistry-upgrade
|
||||
/// <https://html.spec.whatwg.org/multipage/#dom-customelementregistry-upgrade>
|
||||
fn Upgrade(&self, node: &Node) {
|
||||
// Spec says to make a list first and then iterate the list, but
|
||||
// try-to-upgrade only queues upgrade reactions and doesn't itself
|
||||
|
@ -540,7 +540,7 @@ impl CustomElementDefinition {
|
|||
self.name == self.local_name
|
||||
}
|
||||
|
||||
/// https://dom.spec.whatwg.org/#concept-create-element Step 6.1
|
||||
/// <https://dom.spec.whatwg.org/#concept-create-element> Step 6.1
|
||||
#[allow(unsafe_code)]
|
||||
pub fn create_element(
|
||||
&self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue