aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/lists.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/layout_2020/lists.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/layout_2020/lists.rs')
-rw-r--r--components/layout_2020/lists.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout_2020/lists.rs b/components/layout_2020/lists.rs
index ace12efa614..f3ffe471a3e 100644
--- a/components/layout_2020/lists.rs
+++ b/components/layout_2020/lists.rs
@@ -11,7 +11,7 @@ use crate::dom::NodeExt;
use crate::dom_traversal::{NodeAndStyleInfo, PseudoElementContentItem};
use crate::replaced::ReplacedContent;
-/// https://drafts.csswg.org/css-lists/#content-property
+/// <https://drafts.csswg.org/css-lists/#content-property>
pub(crate) fn make_marker<'dom, Node>(
context: &LayoutContext,
info: &NodeAndStyleInfo<Node>,
@@ -44,7 +44,7 @@ where
})
}
-/// https://drafts.csswg.org/css-lists/#marker-string
+/// <https://drafts.csswg.org/css-lists/#marker-string>
fn marker_string(style: &style_structs::List) -> Option<&'static str> {
match style.list_style_type {
ListStyleType::None => None,