diff --git a/anvil/src/glium_drawer.rs b/anvil/src/glium_drawer.rs index 78de8d0..47c9e6e 100644 --- a/anvil/src/glium_drawer.rs +++ b/anvil/src/glium_drawer.rs @@ -36,7 +36,12 @@ struct Vertex { tex_coords: [f32; 2], } -implement_vertex!(Vertex, position, tex_coords); +mod implement_vertex { + #![allow(clippy::unneeded_field_pattern)] + // Module to scope the clippy lint disabling + use super::Vertex; + implement_vertex!(Vertex, position, tex_coords); +} pub struct GliumDrawer { display: GliumGraphicsBackend,