clippy: fix clippy warnings

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-11-28 09:31:34 -08:00
parent 708be85709
commit 0171e6c970
13 changed files with 27 additions and 27 deletions

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(),