1
0
Fork 0
forked from wry/wry

Merge pull request #471 from mahkoh/jorth/clippy2

all: address clippy lints
This commit is contained in:
mahkoh 2025-05-18 18:13:18 +02:00 committed by GitHub
commit 63bd177d6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 5 deletions

View file

@ -30,7 +30,7 @@ enum AsyncError {
impl From<AsyncError> for io::Error {
fn from(value: AsyncError) -> Self {
io::Error::new(ErrorKind::Other, value)
io::Error::other(value)
}
}

View file

@ -935,7 +935,6 @@ impl Input {
}
});
tc.round_trip().await;
let x = data.borrow_mut().clone();
x
data.borrow_mut().clone()
}
}

View file

@ -1154,7 +1154,6 @@ impl Randr {
output.brightness = Some(msg.lux);
});
tc.round_trip().await;
let x = data.borrow_mut().clone();
x
data.borrow_mut().clone()
}
}