From d41fac9481fc7427b4474a888235962739ab2afe Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Thu, 22 Feb 2024 00:12:26 +0100 Subject: [PATCH] Fix clippy warnings --- src/ipc_server.rs | 2 +- src/main.rs | 2 +- src/socket.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ipc_server.rs b/src/ipc_server.rs index 3fe0b6e..b17d858 100644 --- a/src/ipc_server.rs +++ b/src/ipc_server.rs @@ -6,7 +6,7 @@ use std::io::{BufRead, BufReader, Write}; use std::os::unix::net::{UnixListener, UnixStream}; use std::path::PathBuf; -use catacomb_ipc::{self, AppIdMatcher, DpmsState, IpcMessage, WindowScale}; +use catacomb_ipc::{AppIdMatcher, DpmsState, IpcMessage, WindowScale}; use smithay::reexports::calloop::LoopHandle; use tracing::{error, warn}; diff --git a/src/main.rs b/src/main.rs index d15bd2d..954be22 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,7 +6,7 @@ use std::process::{Command, Stdio}; use std::{env, io, ptr}; use catacomb_ipc::{DpmsState, IpcMessage}; -use clap::{self, Parser, Subcommand}; +use clap::{Parser, Subcommand}; #[cfg(feature = "profiling")] use profiling::puffin; #[cfg(feature = "profiling")] diff --git a/src/socket.rs b/src/socket.rs index 9be7c36..d51b8b5 100644 --- a/src/socket.rs +++ b/src/socket.rs @@ -7,7 +7,7 @@ use std::os::unix::net::{UnixListener, UnixStream}; use smithay::reexports::calloop::generic::Generic; use smithay::reexports::calloop::{ - self, EventSource, Interest, Mode, Poll, PostAction, Readiness, Token, TokenFactory, + EventSource, Interest, Mode, Poll, PostAction, Readiness, Token, TokenFactory, }; /// Unix domain socket source.