mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
cargo: Bump rustc to 1.89 (#36818)
Update Rustc to 1.89. Reviewable by commit. Leftover work: - #37330 - #38777 --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
8587536755
commit
3225d19907
126 changed files with 408 additions and 610 deletions
|
@ -1001,7 +1001,7 @@ impl FlexContainer {
|
|||
}
|
||||
|
||||
#[inline]
|
||||
pub(crate) fn layout_style(&self) -> LayoutStyle {
|
||||
pub(crate) fn layout_style(&self) -> LayoutStyle<'_> {
|
||||
LayoutStyle::Default(&self.style)
|
||||
}
|
||||
}
|
||||
|
@ -2046,7 +2046,7 @@ impl FlexItemBox {
|
|||
content_box_sizes_and_pbm: &ContentBoxSizesAndPBM,
|
||||
config: &FlexContainerConfig,
|
||||
flex_context_getter: &impl Fn() -> &'a FlexContext<'a>,
|
||||
) -> FlexItem {
|
||||
) -> FlexItem<'_> {
|
||||
let flex_axis = config.flex_axis;
|
||||
let style = self.style();
|
||||
let cross_axis_is_item_block_axis = cross_axis_is_item_block_axis(
|
||||
|
|
|
@ -151,6 +151,7 @@ impl FlexContainer {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
#[derive(Debug, MallocSizeOf)]
|
||||
pub(crate) enum FlexLevelBox {
|
||||
FlexItem(FlexItemBox),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue