mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Update rustfmt to the 2024 style edition (#35764)
* Use 2024 style edition Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Reformat all code Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
6300e820b4
commit
3d320fa96a
603 changed files with 1739 additions and 1648 deletions
|
@ -13,7 +13,7 @@ use bitflags::bitflags;
|
|||
use euclid::default::{Point2D, Rect, Size2D};
|
||||
use fonts::{FontContext, FontMetrics};
|
||||
use log::debug;
|
||||
use range::{int_range_index, Range, RangeIndex};
|
||||
use range::{Range, RangeIndex, int_range_index};
|
||||
use script_layout_interface::wrapper_traits::PseudoElementType;
|
||||
use serde::Serialize;
|
||||
use servo_geometry::MaxRect;
|
||||
|
@ -50,7 +50,7 @@ use crate::fragment::{
|
|||
};
|
||||
use crate::model::IntrinsicISizesContribution;
|
||||
use crate::traversal::PreorderFlowTraversal;
|
||||
use crate::{text, ServoArc};
|
||||
use crate::{ServoArc, text};
|
||||
|
||||
/// `Line`s are represented as offsets into the child list, rather than
|
||||
/// as an object that "owns" fragments. Choosing a different set of line
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue