clippy: fix clippy warnings

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin committed 2024-11-28 12:01:47 -08:00
1 parent 708be85709
commit 0171e6c970
13 files changed
+27 -27

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ pub struct PoolEvent<'a> {
pub event: ewebsock::WsEvent,
}
impl<'a> PoolEvent<'a> {
impl PoolEvent<'_> {
pub fn into_owned(self) -> PoolEventBuf {
PoolEventBuf {
relay: self.relay.to_owned(),