mirror of
https://github.com/servo/servo.git
synced 2025-08-01 19:50:30 +01: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
|
@ -14,15 +14,15 @@ use std::process;
|
|||
use std::sync::{Arc, LazyLock, Mutex};
|
||||
|
||||
use app_units::Au;
|
||||
use base::Epoch;
|
||||
use base::cross_process_instant::CrossProcessInstant;
|
||||
use base::id::{PipelineId, WebViewId};
|
||||
use base::Epoch;
|
||||
use embedder_traits::resources::{self, Resource};
|
||||
use euclid::default::{Point2D as UntypedPoint2D, Rect as UntypedRect, Size2D as UntypedSize2D};
|
||||
use euclid::{Point2D, Rect, Scale, Size2D};
|
||||
use fnv::FnvHashMap;
|
||||
use fonts::{
|
||||
get_and_reset_text_shaping_performance_counter, FontContext, FontContextWebFontMethods,
|
||||
FontContext, FontContextWebFontMethods, get_and_reset_text_shaping_performance_counter,
|
||||
};
|
||||
use fonts_traits::StylesheetWebFontLoadFinishedCallback;
|
||||
use fxhash::{FxHashMap, FxHashSet};
|
||||
|
@ -41,8 +41,8 @@ use layout::query::{
|
|||
process_scrolling_area_request,
|
||||
};
|
||||
use layout::traversal::{
|
||||
construct_flows_at_ancestors, ComputeStackingRelativePositions, PreorderFlowTraversal,
|
||||
RecalcStyleAndConstructFlows,
|
||||
ComputeStackingRelativePositions, PreorderFlowTraversal, RecalcStyleAndConstructFlows,
|
||||
construct_flows_at_ancestors,
|
||||
};
|
||||
use layout::wrapper::ThreadSafeLayoutNodeHelpers;
|
||||
use layout::{parallel, sequential};
|
||||
|
@ -103,7 +103,7 @@ use style_traits::{CSSPixel, SpeculativePainter};
|
|||
use time::Duration;
|
||||
use url::Url;
|
||||
use webrender_api::units::DevicePixel;
|
||||
use webrender_api::{units, ColorF, HitTestFlags};
|
||||
use webrender_api::{ColorF, HitTestFlags, units};
|
||||
use webrender_traits::CrossProcessCompositorApi;
|
||||
|
||||
// This mutex is necessary due to syncronisation issues between two different types of thread-local storage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue