From b784eee5afdae2aae6d8529e8291733f8ab2ba5f Mon Sep 17 00:00:00 2001 From: Kevin Reid Date: Sun, 31 Jul 2022 14:55:37 -0700 Subject: [PATCH] Silence `clippy::let_unit_value` false positives on `objc::msg_send` calls. (#2924) --- wgpu-hal/src/metal/surface.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wgpu-hal/src/metal/surface.rs b/wgpu-hal/src/metal/surface.rs index bac3bc6871..be10bf7bb6 100644 --- a/wgpu-hal/src/metal/surface.rs +++ b/wgpu-hal/src/metal/surface.rs @@ -1,3 +1,5 @@ +#![allow(clippy::let_unit_value)] // `let () =` being used to constrain result type + use std::{mem, os::raw::c_void, ptr::NonNull, sync::Once, thread}; use core_graphics_types::{