Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
al8n committed Apr 22, 2024
1 parent 51c04b5 commit 88da895
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/core/src/transport/peer_connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use tokio::task::JoinHandle;
mod inbound_stream;
mod outbound_stream;

use super::packet_data::{Plaintext, SymmetricAES};
use super::packet_data::SymmetricAES;
use super::{
connection_handler::SerializedMessage,
packet_data::{self, PacketData},
Expand Down
4 changes: 1 addition & 3 deletions crates/core/src/transport/symmetric_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ use serde::{Deserialize, Serialize};
use serde_with::serde_as;

use super::{
packet_data::{Plaintext, MAX_DATA_SIZE},
peer_connection::StreamId,
MessagePayload, PacketData, PacketId,
packet_data::MAX_DATA_SIZE, peer_connection::StreamId, MessagePayload, PacketData, PacketId,
};

#[serde_as]
Expand Down

0 comments on commit 88da895

Please sign in to comment.