1
0
Fork 0
forked from wry/wry

all: set rust edition to 2024

This commit is contained in:
Julian Orth 2025-02-21 10:44:29 +01:00
parent 02a18f620b
commit 3338909170
515 changed files with 1225 additions and 1187 deletions

View file

@ -2,8 +2,8 @@ use {
crate::{
backend::AXIS_120,
ifs::wl_seat::{
wl_pointer::{PendingScroll, VERTICAL_SCROLL},
PX_PER_SCROLL,
wl_pointer::{PendingScroll, VERTICAL_SCROLL},
},
},
std::cell::Cell,
@ -38,10 +38,6 @@ impl Scroller {
self.v120.set(0);
self.px.set(0.0);
}
if n != 0 {
Some(n)
} else {
None
}
if n != 0 { Some(n) } else { None }
}
}