mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
tidy: Fix rustdoc warnings and add a tidy check for a common URL issue (#33366)
This change fixes all rustdoc errors and also adds a tidy check for a very common rustdoc URL issue. Eventually rustdoc warnings should likely cause the build to fail, but this catches those issues sooner in order to not waste so much developer time. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
f6ae050077
commit
e70507ca40
19 changed files with 107 additions and 36 deletions
|
@ -737,9 +737,8 @@ impl<'layout_dta> InlineFormattingContextLayout<'layout_dta> {
|
|||
self.inline_box_state_stack.push(inline_box_state);
|
||||
}
|
||||
|
||||
/// Finish laying out a particular [`InlineBox`] into line items. This will add the
|
||||
/// final [`InlineBoxLineItem`] to the state and pop its state off of
|
||||
/// [`Self::inline_box_state_stack`].
|
||||
/// Finish laying out a particular [`InlineBox`] into line items. This will
|
||||
/// pop its state off of [`Self::inline_box_state_stack`].
|
||||
fn finish_inline_box(&mut self) {
|
||||
let inline_box_state = match self.inline_box_state_stack.pop() {
|
||||
Some(inline_box_state) => inline_box_state,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue