From ef95a0307023b65d463b776c8afeb456e2c9dbf5 Mon Sep 17 00:00:00 2001 From: coolkiid <73600915+coolkiid@users.noreply.github.com> Date: Fri, 29 Mar 2024 04:53:01 +0800 Subject: [PATCH] chore: fix a clippy warning (#871) --- src/host/wasapi/device.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host/wasapi/device.rs b/src/host/wasapi/device.rs index 983c8c5f2..d0c03548b 100644 --- a/src/host/wasapi/device.rs +++ b/src/host/wasapi/device.rs @@ -452,7 +452,7 @@ impl Device { channels: format.channels, min_sample_rate: sample_rate, max_sample_rate: sample_rate, - buffer_size: format.buffer_size.clone(), + buffer_size: format.buffer_size, sample_format, }) }