1
0
Fork 0
forked from wry/wry

all: address clippy lints

This commit is contained in:
Julian Orth 2025-05-18 18:10:57 +02:00
parent 956d3f79f7
commit 8c49ecd5fe
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()
}
}