1
0
Fork 0
forked from wry/wry

all: address clippy lints

This commit is contained in:
Julian Orth 2025-02-21 10:31:52 +01:00
parent 3056c9af71
commit 02a18f620b
4 changed files with 6 additions and 6 deletions

View file

@ -519,7 +519,7 @@ impl MetalBackend {
_ => None,
},
angle: match event.ring_position() {
n if n == -1.0 => None,
-1.0 => None,
n => Some(n),
},
});
@ -539,7 +539,7 @@ impl MetalBackend {
_ => None,
},
position: match event.strip_position() {
n if n == -1.0 => None,
-1.0 => None,
n => Some(n),
},
});