From b2d125104a2f80e4b749c855bd9bf7e307bfd5a6 Mon Sep 17 00:00:00 2001 From: kozabrada123 <59031733+kozabrada123@users.noreply.github.com> Date: Fri, 28 Jul 2023 18:04:16 +0200 Subject: [PATCH] Same allow as for voice as normal gateway --- src/voice.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/voice.rs b/src/voice.rs index 4e9eb70..1af8747 100644 --- a/src/voice.rs +++ b/src/voice.rs @@ -408,6 +408,7 @@ impl VoiceGateway { } /// Handles sending heartbeats to the voice gateway in another thread +#[allow(dead_code)] // FIXME: Remove this, once all fields of VoiceHeartbeatHandler are used struct VoiceHeartbeatHandler { /// The heartbeat interval in milliseconds pub heartbeat_interval: Duration,