chore: unused imports

This commit is contained in:
kozabrada123 2024-01-12 17:00:24 +01:00
parent 88152d0d3d
commit d496cf01a5
2 changed files with 1 additions and 6 deletions

View File

@ -2,8 +2,6 @@
//!
//! All functions in this module return a 24 byte long [Vec<u8>].
use crypto_secretbox::cipher::typenum::Len;
/// Gets an xsalsa20_poly1305 nonce from an rtppacket.
///
/// See <https://discord-userdoccers.vercel.app/topics/voice-connections#encryption-mode>

View File

@ -15,10 +15,7 @@ use super::UdpSocket;
use crate::{
errors::VoiceUdpError,
types::VoiceEncryptionMode,
voice::{
crypto::{self, get_xsalsa20_poly1305_nonce},
voice_data::VoiceData,
},
voice::{crypto::get_xsalsa20_poly1305_nonce, voice_data::VoiceData},
};
use super::{events::VoiceUDPEvents, RTP_HEADER_SIZE};