diff options
| author | Ubuntu <github@matdoes.dev> | 2022-09-02 17:12:49 +0000 |
|---|---|---|
| committer | Ubuntu <github@matdoes.dev> | 2022-09-02 17:12:49 +0000 |
| commit | 2a775c93fa5ba5aa9ece1e82d4f33b66ed780980 (patch) | |
| tree | 170e2b19106381bbeb5b5f7737e0a0e891fb10f0 | |
| parent | cfb190d00c70f1b09789e23f89a3c67840e0fd87 (diff) | |
| download | azalea-drasl-2a775c93fa5ba5aa9ece1e82d4f33b66ed780980.tar.xz | |
unused use in test
| -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, |
