mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-30 10:16:46 +01:00
pathops: pass the fill test by value (clippy needless borrow)
This commit is contained in:
1 parent
27aac6e002
commit
b60e8acdfe
1 file changed
+1
-1
@@ -45,7 +45,7 @@ pub(crate) fn outline(net: &VectorNetwork, props: &StrokeProps, align: StrokeAli
|
||||
.zip(&uses)
|
||||
.filter(|(s, u)| {
|
||||
let place = match **u {
|
||||
0 if middle(net, s).is_some_and(&filled) => Place::Within,
|
||||
0 if middle(net, s).is_some_and(filled) => Place::Within,
|
||||
0 => Place::Beyond,
|
||||
u if u % 2 == 1 => Place::Edge,
|
||||
_ => Place::Within,
|
||||
|
||||
Reference in new issue
Block a user