mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01: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
|
@ -610,7 +610,7 @@ pub fn get_element_target(subject: &Element) -> Option<DOMString> {
|
|||
};
|
||||
}
|
||||
|
||||
/// < https://html.spec.whatwg.org/multipage/#get-an-element's-noopener>
|
||||
/// <https://html.spec.whatwg.org/multipage/#get-an-element's-noopener>
|
||||
pub fn get_element_noopener(subject: &Element, target_attribute_value: Option<DOMString>) -> bool {
|
||||
if !(subject.is::<HTMLAreaElement>() ||
|
||||
subject.is::<HTMLAnchorElement>() ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue