Skip to content

Commit 678a369

Browse files
committed
Fix compilation
This change is made because of a breaking change in rustc: rust-lang/rust#59825 Signed-off-by: Valdemar Erk <v@erk.io>
1 parent 8068e40 commit 678a369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ impl VoiceUpdate {
804804
endpoint: String,
805805
) -> Self {
806806
Self {
807-
event: VoiceUpdateEvent::new(endpoint, guild_id.as_ref(), token),
807+
event: VoiceUpdateEvent::new(endpoint, &guild_id, token),
808808
op: Opcode::VoiceUpdate,
809809
session_id,
810810
guild_id,

0 commit comments

Comments
 (0)