diff options
author | Rhea-Eve <132553576+Rhea-Eve@users.noreply.github.com> | 2024-03-18 04:33:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-18 08:33:15 +0000 |
commit | 1ab8fa2895bd2339981e0be52591f38ad834ed21 (patch) | |
tree | 73a4c53008188caa8198cf6a70c4ae3e7569e4e4 /components/layout_2020/formatting_contexts.rs | |
parent | 99ddab43e8384f72ec9da1730e44c51e95e042a1 (diff) | |
download | servo-1ab8fa2895bd2339981e0be52591f38ad834ed21.tar.gz servo-1ab8fa2895bd2339981e0be52591f38ad834ed21.zip |
rustdoc: Fix two warnings in `components/layout_2020` (#31712)
* Fix BoxFragment reference.
Signed-off-by: Rhea Karty <rheakarty@gmail.com>
* Fix reference to InlineFormattingContext.
Signed-off-by: Rhea Karty <rheakarty@gmail.com>
* Rewrap lines to avoid long length
* Remove trailing whitesapce
---------
Signed-off-by: Rhea Karty <rheakarty@gmail.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/layout_2020/formatting_contexts.rs')
-rw-r--r-- | components/layout_2020/formatting_contexts.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout_2020/formatting_contexts.rs b/components/layout_2020/formatting_contexts.rs index be481c5ece9..347e88ad96e 100644 --- a/components/layout_2020/formatting_contexts.rs +++ b/components/layout_2020/formatting_contexts.rs @@ -59,8 +59,8 @@ pub(crate) enum NonReplacedFormattingContextContents { // Other layout modes go here } -/// The baselines of a layout or a [`BoxFragment`]. Some layout uses the first and some layout uses -/// the last. +/// The baselines of a layout or a [`crate::fragment_tree::BoxFragment`]. Some layout +/// uses the first and some layout uses the last. #[derive(Debug, Default, Serialize)] pub(crate) struct Baselines { pub first: Option<Au>, |