1
0
Fork 0
forked from wry/wry

all: fix clippy lints

This commit is contained in:
Julian Orth 2022-11-13 22:50:18 +01:00
parent 82a62e3fd9
commit 0b46391789
2 changed files with 2 additions and 1 deletions

View file

@ -393,6 +393,7 @@ pub fn rects_to_bands(rects_tmp: &[RectRaw]) -> Container {
let mut res = Container::new();
for &[y1, y2] in ys.array_windows_ext::<2>() {
#[allow(clippy::never_loop)]
loop {
macro_rules! check_rect {
($rect:expr) => {{

View file

@ -557,7 +557,7 @@ impl XBackend {
height_mm: output.height.get(),
}));
output.changed();
self.present(&output).await;
self.present(output).await;
}
async fn query_devices(self: &Rc<Self>, deviceid: u16) -> Result<(), XBackendError> {