Use nightly clippy & rustfmt for more style checks (#487)

This commit is contained in:
Jonas Platte
2021-11-09 11:53:57 +00:00
committed by GitHub
parent bcd18a03bc
commit 9c77ee0295
32 changed files with 69 additions and 65 deletions
+2 -2
View File
@@ -23,10 +23,9 @@ use std::{
sync::Arc,
task::{Context, Poll},
};
use tokio::net::{unix::UCred, UnixListener};
use tokio::{
io::{AsyncRead, AsyncWrite},
net::UnixStream,
net::{unix::UCred, UnixListener, UnixStream},
};
use tower::BoxError;
@@ -150,6 +149,7 @@ impl Connection for ClientConnection {
}
#[derive(Clone, Debug)]
#[allow(dead_code)]
struct UdsConnectInfo {
peer_addr: Arc<tokio::net::unix::SocketAddr>,
peer_cred: UCred,