mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
Merge pull request #2203 from Messhias/fix/2131-clippy-pdf-collapsible-match
fix(pdf): collapse Shading match for clippy 1.95
This commit is contained in:
@@ -545,10 +545,8 @@ impl Walker<'_, '_> {
|
||||
self.painted(true);
|
||||
}
|
||||
// Drawn when the interpreter can read the shading: the page's count tells.
|
||||
TypedInstruction::Shading(s) => {
|
||||
if res.get_shading(s.0).is_some() {
|
||||
self.painted(false);
|
||||
}
|
||||
TypedInstruction::Shading(s) if res.get_shading(s.0).is_some() => {
|
||||
self.painted(false);
|
||||
}
|
||||
TypedInstruction::ShowText(_)
|
||||
| TypedInstruction::ShowTexts(_)
|
||||
|
||||
Reference in New Issue
Block a user