Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip-NLnetLabs committed Jul 23, 2024
1 parent bf3b45a commit beeeb80
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/query-routing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ use domain::net::server::qname_router::QnameRouter;
use domain::net::server::service::{
CallResult, ServiceError, ServiceFeedback, Transaction,
};
use domain::net::server::sock::AsyncAccept;
use domain::net::server::single_service::ReplyMessage;
use domain::net::server::sock::AsyncAccept;
use domain::net::server::stream;
use domain::net::server::stream::StreamServer;
use domain::net::server::util::{mk_builder_for_target, service_fn};
Expand Down
2 changes: 1 addition & 1 deletion src/net/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ pub mod metrics;
pub mod middleware;
pub mod qname_router;
pub mod service;
pub mod sock;
pub mod single_service;
pub mod sock;
pub mod stream;
pub mod util;

Expand Down
5 changes: 3 additions & 2 deletions src/net/server/qname_router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ pub struct QnameRouter<Octs, RequestOcts, CR> {

struct Element<NameOcts, RequestOcts, CR> {
name: Name<NameOcts>,
service:
Box<dyn SingleService<RequestOcts, CR, Target = Vec<u8>> + Send + Sync>,
service: Box<
dyn SingleService<RequestOcts, CR, Target = Vec<u8>> + Send + Sync,
>,
}

impl<Octs, RequestOcts, CR> QnameRouter<Octs, RequestOcts, CR> {
Expand Down

0 comments on commit beeeb80

Please sign in to comment.