Reorder imports

This commit is contained in:
Tim Kuehn
2016-01-25 23:15:43 -08:00
parent d1013dd5a8
commit 1ec610b7c2
2 changed files with 4 additions and 3 deletions

1
tarpc/rustfmt.toml Normal file
View File

@@ -0,0 +1 @@
reorder_imports = true

View File

@@ -15,9 +15,9 @@ use std::convert;
use std::collections::HashMap;
use std::marker::PhantomData;
use std::mem;
use std::net::{TcpListener, TcpStream, SocketAddr, ToSocketAddrs};
use std::net::{SocketAddr, TcpListener, TcpStream, ToSocketAddrs};
use std::sync::{Arc, Condvar, Mutex};
use std::sync::mpsc::{channel, Sender, TryRecvError};
use std::sync::mpsc::{Sender, TryRecvError, channel};
use std::sync::atomic::{AtomicBool, Ordering};
use std::time::Duration;
use std::thread::{self, JoinHandle};
@@ -491,7 +491,7 @@ mod test {
extern crate env_logger;
use super::{Client, Serve, serve_async};
use std::sync::{Arc, Mutex, Barrier};
use std::sync::{Arc, Barrier, Mutex};
use std::thread;
use std::time::Duration;