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/layout_2020/flexbox/construct.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/layout_2020/flexbox/construct.rs')
-rw-r--r-- | components/layout_2020/flexbox/construct.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout_2020/flexbox/construct.rs b/components/layout_2020/flexbox/construct.rs index 04f8f0746b4..3f4f7aab734 100644 --- a/components/layout_2020/flexbox/construct.rs +++ b/components/layout_2020/flexbox/construct.rs @@ -38,7 +38,7 @@ impl FlexContainer { } } -/// https://drafts.csswg.org/css-flexbox/#flex-items +/// <https://drafts.csswg.org/css-flexbox/#flex-items> struct FlexContainerBuilder<'a, 'dom, Node> { context: &'a LayoutContext<'a>, info: &'a NodeAndStyleInfo<Node>, @@ -98,7 +98,7 @@ where } } -/// https://drafts.csswg.org/css-text/#white-space +/// <https://drafts.csswg.org/css-text/#white-space> fn is_only_document_white_space<Node>(run: &TextRun<'_, Node>) -> bool { // FIXME: is this the right definition? See // https://github.com/w3c/csswg-drafts/issues/5146 |