Mark Primitive as non-exhaustive in iced_graphics

This commit is contained in:
Héctor Ramón Jiménez 2023-03-03 03:55:07 +01:00
parent 868f79d22e
commit bbeaf10c04
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
4 changed files with 9 additions and 3 deletions

View file

@ -265,9 +265,8 @@ impl<'a> Layer<'a> {
current_layer,
);
}
Primitive::Fill { .. } | Primitive::Stroke { .. } => {
_ => {
// Unsupported!
// TODO: Draw a placeholder (?)
}
}
}