From 8317d6083214ba1ee5c565700ef01da86e04cd27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Thu, 2 Mar 2023 21:32:48 +0000 Subject: [PATCH] fix: clippy issue with new() method --- src/apu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apu.rs b/src/apu.rs index 66b6c4bb..51083794 100644 --- a/src/apu.rs +++ b/src/apu.rs @@ -116,7 +116,7 @@ impl Apu { wave_ram: [0u8; 16], - sampling_rate: sampling_rate, + sampling_rate, /// Internal sequencer counter that runs at 512Hz /// used for the activation of the tick actions. -- GitLab