mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +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
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use std::borrow::Cow;
|
||||
use std::iter::repeat;
|
||||
use std::iter::repeat_n;
|
||||
|
||||
use atomic_refcell::AtomicRef;
|
||||
use layout_api::wrapper_traits::ThreadSafeLayoutNode;
|
||||
|
@ -1165,6 +1165,6 @@ fn add_column(
|
|||
shared_background_style: SharedStyle::new(column_info.style.clone()),
|
||||
})
|
||||
});
|
||||
collection.extend(repeat(column.clone()).take(span as usize));
|
||||
collection.extend(repeat_n(column.clone(), span as usize));
|
||||
column
|
||||
}
|
||||
|
|
|
@ -2754,21 +2754,21 @@ impl Table {
|
|||
}
|
||||
|
||||
#[inline]
|
||||
pub(crate) fn layout_style_for_grid(&self) -> LayoutStyle {
|
||||
pub(crate) fn layout_style_for_grid(&self) -> LayoutStyle<'_> {
|
||||
LayoutStyle::Default(&self.grid_style)
|
||||
}
|
||||
}
|
||||
|
||||
impl TableTrack {
|
||||
#[inline]
|
||||
pub(crate) fn layout_style(&self) -> LayoutStyle {
|
||||
pub(crate) fn layout_style(&self) -> LayoutStyle<'_> {
|
||||
LayoutStyle::Default(&self.base.style)
|
||||
}
|
||||
}
|
||||
|
||||
impl TableTrackGroup {
|
||||
#[inline]
|
||||
pub(crate) fn layout_style(&self) -> LayoutStyle {
|
||||
pub(crate) fn layout_style(&self) -> LayoutStyle<'_> {
|
||||
LayoutStyle::Default(&self.base.style)
|
||||
}
|
||||
}
|
||||
|
@ -2806,7 +2806,7 @@ impl TableLayoutStyle<'_> {
|
|||
|
||||
impl TableSlotCell {
|
||||
#[inline]
|
||||
fn layout_style(&self) -> LayoutStyle {
|
||||
fn layout_style(&self) -> LayoutStyle<'_> {
|
||||
self.contents.layout_style(&self.base)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue