1 parent 0fa0f8b commit 7418d24Copy full SHA for 7418d24
1 file changed
wgpu-core/src/instance.rs
@@ -265,7 +265,7 @@ impl Instance {
265
/// non-apple Unix-like platforms (Linux, FreeBSD) and currently only works
266
/// with the Vulkan backend.
267
#[cfg(drm)]
268
- #[cfg_attr(not(vulkan), expect(unused_variables))]
+ #[cfg_attr(not(vulkan), expect(unused_variables, unused_mut))]
269
pub unsafe fn create_surface_from_drm(
270
&self,
271
fd: i32,
0 commit comments