Skip to content

Commit 0847e15

Browse files
Prefix unused field with _
1 parent da4c7de commit 0847e15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/graphics/shader.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ use {
136136
#[repr(C)]
137137
pub struct Shader<'texture> {
138138
_opaque: [u8; 0],
139-
texture: PhantomData<&'texture Texture>,
139+
_texture: PhantomData<&'texture Texture>,
140140
}
141141

142142
impl<'texture> Shader<'texture> {

0 commit comments

Comments
 (0)