diff options
Diffstat (limited to 'azalea-protocol/src/lib.rs')
| -rwxr-xr-x | azalea-protocol/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/azalea-protocol/src/lib.rs b/azalea-protocol/src/lib.rs index f5922e27..1f864d45 100755 --- a/azalea-protocol/src/lib.rs +++ b/azalea-protocol/src/lib.rs @@ -50,7 +50,6 @@ pub async fn connect(address: ServerAddress) -> Result<(), Box<dyn std::error::E #[cfg(test)] mod tests { - use super::*; use crate::{ packets::login::{ serverbound_hello_packet::{ProfilePublicKeyData, ServerboundHelloPacket}, @@ -64,7 +63,7 @@ mod tests { #[tokio::test] async fn test_hello_packet() { - let packet = ServerboundHelloPacket { + let packet = ServerboundHelloPacket { username: "test".to_string(), public_key: Some(ProfilePublicKeyData { expires_at: 0, |
