Skip to content

Commit 93a1f29

Browse files
authored
admin: Remove unused types (#1294)
Rust nightly catches a few unused types that are apparently not caught on the most recent stable releases.
1 parent afcfc34 commit 93a1f29

File tree

1 file changed

+0
-13
lines changed
  • linkerd/app/admin/src/server

1 file changed

+0
-13
lines changed

linkerd/app/admin/src/server/mod.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ use linkerd_app_core::{
2323
};
2424
use std::{
2525
future::Future,
26-
net::SocketAddr,
2726
pin::Pin,
2827
task::{Context, Poll},
2928
};
@@ -42,18 +41,6 @@ pub struct Admin<M> {
4241
shutdown_tx: mpsc::UnboundedSender<()>,
4342
}
4443

45-
#[derive(Clone)]
46-
pub struct Accept<S> {
47-
service: S,
48-
server: hyper::server::conn::Http,
49-
}
50-
51-
#[derive(Clone)]
52-
pub struct Serve<S> {
53-
client_addr: SocketAddr,
54-
inner: S,
55-
}
56-
5744
pub type ResponseFuture =
5845
Pin<Box<dyn Future<Output = Result<Response<Body>, Error>> + Send + 'static>>;
5946

0 commit comments

Comments
 (0)