From 16fdb77ee78a31cb9c0bb4764e630f469248f2f1 Mon Sep 17 00:00:00 2001 From: conglinyizhi Date: Sat, 7 Dec 2024 12:19:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20style(main):=20=E7=AE=80?= =?UTF-8?q?=E5=8C=96=E5=8F=98=E9=87=8F=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 3f4d744..76f2c49 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,8 +46,8 @@ fn main() { eprint!("Open Camera Error:{}", e) } } - let mut w = 0 as i32; - let mut h = 0 as i32; + let mut w = 0; + let mut h = 0; if camera_open { loop { // 捕获一帧图像