Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kozabrada123 committed Nov 1, 2024
1 parent 0c1cdf0 commit f3aced7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gateway/backends/tungstenite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use futures_util::{
use tokio::net::TcpStream;
use tokio_tungstenite::{
connect_async_tls_with_config, connect_async_with_config,
tungstenite::{self, protocol::CloseFrame},
tungstenite::self,
Connector, MaybeTlsStream, WebSocketStream,
};
use url::Url;
Expand Down
2 changes: 1 addition & 1 deletion src/voice/gateway/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

use crate::{errors::VoiceGatewayError, types::{VoiceGatewayReceivePayload, VoiceCloseCode}};
use crate::types::{VoiceGatewayReceivePayload, VoiceCloseCode};

#[derive(Clone, Debug, PartialEq, Eq)]
/// Defines a communication received from the gateway, being either an optionally compressed
Expand Down

0 comments on commit f3aced7

Please sign in to comment.