aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/rbw-agent/sock.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2023-02-18 23:55:19 -0500
committerJesse Luehrs <doy@tozt.net>2023-02-18 23:55:19 -0500
commita54f18f445e5bb13231ab3c716a32d1706119b5f (patch)
treef08cba15c7f47261c03860f8ca4f4839f43f0e6e /src/bin/rbw-agent/sock.rs
parent93a6fb1027243a0f35d99373d84584b33a46c202 (diff)
downloadrbw-a54f18f445e5bb13231ab3c716a32d1706119b5f.tar.gz
rbw-a54f18f445e5bb13231ab3c716a32d1706119b5f.zip
more clippy cleanups
Diffstat (limited to 'src/bin/rbw-agent/sock.rs')
-rw-r--r--src/bin/rbw-agent/sock.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/rbw-agent/sock.rs b/src/bin/rbw-agent/sock.rs
index b97d33d..280b8cc 100644
--- a/src/bin/rbw-agent/sock.rs
+++ b/src/bin/rbw-agent/sock.rs
@@ -44,8 +44,6 @@ impl Sock {
pub fn listen() -> anyhow::Result<tokio::net::UnixListener> {
let path = rbw::dirs::socket_file();
// if the socket already doesn't exist, that's fine
- // https://github.com/rust-lang/rust-clippy/issues/8003
- #[allow(let_underscore_drop)]
let _ = std::fs::remove_file(&path);
let sock = tokio::net::UnixListener::bind(&path)
.context("failed to listen on socket")?;