cargo fmt
This commit is contained in:
parent
f58aaac1ae
commit
36cd6d6e06
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue