Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
This change is made because of a breaking change
in rustc: rust-lang/rust#59825

Signed-off-by: Valdemar Erk <[email protected]>
  • Loading branch information
Erk- committed Jul 13, 2019
1 parent 8068e40 commit 678a369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ impl VoiceUpdate {
endpoint: String,
) -> Self {
Self {
event: VoiceUpdateEvent::new(endpoint, guild_id.as_ref(), token),
event: VoiceUpdateEvent::new(endpoint, &guild_id, token),
op: Opcode::VoiceUpdate,
session_id,
guild_id,
Expand Down

0 comments on commit 678a369

Please sign in to comment.