all: address clippy lints
This commit is contained in:
parent
3056c9af71
commit
02a18f620b
4 changed files with 6 additions and 6 deletions
|
|
@ -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),
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue