cargo fmt

This commit is contained in:
Henry de Valence 2019-11-27 11:48:41 -08:00 committed by Deirdre Connolly
parent f58aaac1ae
commit 36cd6d6e06
4 changed files with 5 additions and 6 deletions

View File

@ -11,8 +11,8 @@ mod handshake;
/// Handles inbound requests from the network to our node.
mod server;
use error::ErrorSlot;
use client::ClientRequest;
use error::ErrorSlot;
pub use client::Client;
pub use connector::Connector;

View File

@ -9,7 +9,7 @@ use tower::{discover::Change, Service, ServiceExt};
use crate::{BoxedStdError, Request, Response};
use super::{HandshakeError, Client, Handshake};
use super::{Client, Handshake, HandshakeError};
/// A wrapper around [`peer::Handshake`] that opens a TCP connection before
/// forwarding to the inner handshake service. Writing this as its own

View File

@ -25,7 +25,7 @@ use crate::{
BoxedStdError, Config,
};
use super::{ErrorSlot, HandshakeError, Client, Server};
use super::{Client, ErrorSlot, HandshakeError, Server};
/// A [`Service`] that handshakes with a remote peer and constructs a
/// client/server pair.

View File

@ -25,9 +25,8 @@ use tower::{
use tower_load::{peak_ewma::PeakEwmaDiscover, NoInstrument};
use crate::{
peer,
timestamp_collector::TimestampCollector,
AddressBook, BoxedStdError, Config, Request, Response,
peer, timestamp_collector::TimestampCollector, AddressBook, BoxedStdError, Config, Request,
Response,
};
use super::CandidateSet;