diff options
author | 2023-03-03 03:55:07 +0100 | |
---|---|---|
committer | 2023-03-03 03:55:07 +0100 | |
commit | bbeaf10c04a922af5c1c3b898f0c4301d23feab0 (patch) | |
tree | b0d2b64d72ae29db324de7614b37af9c6ab68b54 /wgpu/src/layer.rs | |
parent | 868f79d22e2be82e98b06d66da3b4cbc6139d7c7 (diff) | |
download | iced-bbeaf10c04a922af5c1c3b898f0c4301d23feab0.tar.gz iced-bbeaf10c04a922af5c1c3b898f0c4301d23feab0.tar.bz2 iced-bbeaf10c04a922af5c1c3b898f0c4301d23feab0.zip |
Mark `Primitive` as `non-exhaustive` in `iced_graphics`
Diffstat (limited to 'wgpu/src/layer.rs')
-rw-r--r-- | wgpu/src/layer.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wgpu/src/layer.rs b/wgpu/src/layer.rs index 0840555a..69fcf899 100644 --- a/wgpu/src/layer.rs +++ b/wgpu/src/layer.rs @@ -265,9 +265,8 @@ impl<'a> Layer<'a> { current_layer, ); } - Primitive::Fill { .. } | Primitive::Stroke { .. } => { + _ => { // Unsupported! - // TODO: Draw a placeholder (?) } } } |