diff --git a/src/apu.rs b/src/apu.rs
index 66b6c4bb61966dbda8bb6299ec0a267b457fa6bf..5108379403f085295ea7111376d363b88742449e 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.