mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
Strict import formatting (grouping and granularity) (#30325)
* strict imports formatting * Reformat all imports
This commit is contained in:
parent
413da4ca69
commit
aad2dccc9c
802 changed files with 6861 additions and 6395 deletions
|
@ -4,13 +4,6 @@
|
|||
|
||||
//! Timing functions.
|
||||
|
||||
use crate::trace_dump::TraceDump;
|
||||
use ipc_channel::ipc::{self, IpcReceiver};
|
||||
use profile_traits::time::{
|
||||
ProfilerCategory, ProfilerChan, ProfilerData, ProfilerMsg, TimerMetadata,
|
||||
};
|
||||
use profile_traits::time::{TimerMetadataFrameType, TimerMetadataReflowType};
|
||||
use servo_config::opts::OutputOptions;
|
||||
use std::borrow::ToOwned;
|
||||
use std::collections::{BTreeMap, HashMap};
|
||||
use std::fs::File;
|
||||
|
@ -19,6 +12,15 @@ use std::path::Path;
|
|||
use std::time::Duration;
|
||||
use std::{f64, thread, u32, u64};
|
||||
|
||||
use ipc_channel::ipc::{self, IpcReceiver};
|
||||
use profile_traits::time::{
|
||||
ProfilerCategory, ProfilerChan, ProfilerData, ProfilerMsg, TimerMetadata,
|
||||
TimerMetadataFrameType, TimerMetadataReflowType,
|
||||
};
|
||||
use servo_config::opts::OutputOptions;
|
||||
|
||||
use crate::trace_dump::TraceDump;
|
||||
|
||||
pub trait Formattable {
|
||||
fn format(&self, output: &Option<OutputOptions>) -> String;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue