diff --git a/wgpu-hal/src/dx12/device.rs b/wgpu-hal/src/dx12/device.rs index be5bae345..64733a827 100644 --- a/wgpu-hal/src/dx12/device.rs +++ b/wgpu-hal/src/dx12/device.rs @@ -253,7 +253,7 @@ impl super::Device { error.GetBufferSize(), ) }; - write!(full_msg, ": {}", String::from_utf8_lossy(message)); + let _ = write!(full_msg, ": {}", String::from_utf8_lossy(message)); unsafe { error.destroy(); }