Remove borrow

This commit is contained in:
bitfl0wer 2023-09-01 00:50:07 +02:00
parent a46ffc965c
commit 9b0567ac9e
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ impl GatewayHandle {
/// Sends an update voice state to the server
pub async fn send_update_voice_state(&self, to_send: types::UpdateVoiceState) {
let to_send_value = serde_json::to_value(&to_send).unwrap();
let to_send_value = serde_json::to_value(to_send).unwrap();
trace!("GW: Sending Update Voice State..");