From fc64a23b3d6ee4a3ef1ef3ca2b51d77b1a33d254 Mon Sep 17 00:00:00 2001 From: l1npengtul Date: Sat, 12 Oct 2024 23:30:13 +0900 Subject: [PATCH] fix unused warning --- nokhwa-core/src/traits.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/nokhwa-core/src/traits.rs b/nokhwa-core/src/traits.rs index 7ffd4bd..b637fb0 100644 --- a/nokhwa-core/src/traits.rs +++ b/nokhwa-core/src/traits.rs @@ -193,7 +193,6 @@ pub trait CaptureBackendTrait { label: Option<&'a str>, ) -> Result { use crate::pixel_format::RgbAFormat; - use std::num::NonZeroU32; let frame = self.frame()?.decode_image::()?; let texture_size = Extent3d {