Upgrade to Rust 1.87 (#7346)
I ignored some new clippy lints about large differences between enum variants. We can always revisit these later (the compiler suggests boxing them so that the enum variants are similar size)
This commit is contained in:
@ -454,7 +454,7 @@ impl Node<Program> {
|
||||
alpha: c.a,
|
||||
},
|
||||
};
|
||||
if colors.borrow().iter().any(|c| *c == color) {
|
||||
if colors.borrow().contains(&color) {
|
||||
return;
|
||||
}
|
||||
colors.borrow_mut().push(color);
|
||||
|
Reference in New Issue
Block a user