mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-23 21:20:53 +03:00
address clippy lints
This commit is contained in:
@@ -21,7 +21,7 @@ pub fn run() -> Result<()> {
|
||||
let socket_path = super::FrontendListener::socket_path()?;
|
||||
|
||||
#[cfg(unix)]
|
||||
let Ok(mut tx) = UnixStream::connect(&socket_path) else {
|
||||
let Ok(mut tx) = UnixStream::connect(socket_path) else {
|
||||
return Err(anyhow!("Could not connect to lan-mouse-socket"));
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user