Skip to content

Commit 7418d24

Browse files
committed
Clippy fix
1 parent 0fa0f8b commit 7418d24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wgpu-core/src/instance.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ impl Instance {
265265
/// non-apple Unix-like platforms (Linux, FreeBSD) and currently only works
266266
/// with the Vulkan backend.
267267
#[cfg(drm)]
268-
#[cfg_attr(not(vulkan), expect(unused_variables))]
268+
#[cfg_attr(not(vulkan), expect(unused_variables, unused_mut))]
269269
pub unsafe fn create_surface_from_drm(
270270
&self,
271271
fd: i32,

0 commit comments

Comments
 (0)