Sort use statements

This commit is contained in:
Simon Sapin 2018-11-01 17:23:56 +01:00
parent 45f7199eee
commit 76e59a46d3
162 changed files with 444 additions and 431 deletions

View file

@ -4,6 +4,7 @@
//! Memory profiling functions.
use crate::time::duration_from_seconds;
use ipc_channel::ipc::{self, IpcReceiver};
use ipc_channel::router::ROUTER;
use profile_traits::mem::{ProfilerChan, ProfilerMsg, ReportKind, Reporter, ReporterRequest};
@ -13,7 +14,6 @@ use std::cmp::Ordering;
use std::collections::HashMap;
use std::thread;
use std::time::Instant;
use crate::time::duration_from_seconds;
pub struct Profiler {
/// The port through which messages are received.

View file

@ -5,6 +5,8 @@
//! Timing functions.
use crate::heartbeats;
use crate::std_time::precise_time_ns;
use crate::trace_dump::TraceDump;
use influent::client::{Client, Credentials};
use influent::create_client;
use influent::measurement::{Measurement, Value};
@ -22,8 +24,6 @@ use std::fs::File;
use std::io::{self, Write};
use std::path::Path;
use std::time::Duration;
use crate::std_time::precise_time_ns;
use crate::trace_dump::TraceDump;
use tokio;
use tokio::prelude::Future;