aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/lib.rs
diff options
context:
space:
mode:
authorUbuntu <github@matdoes.dev>2022-09-02 17:12:49 +0000
committerUbuntu <github@matdoes.dev>2022-09-02 17:12:49 +0000
commit2a775c93fa5ba5aa9ece1e82d4f33b66ed780980 (patch)
tree170e2b19106381bbeb5b5f7737e0a0e891fb10f0 /azalea-protocol/src/lib.rs
parentcfb190d00c70f1b09789e23f89a3c67840e0fd87 (diff)
downloadazalea-drasl-2a775c93fa5ba5aa9ece1e82d4f33b66ed780980.tar.xz
unused use in test
Diffstat (limited to 'azalea-protocol/src/lib.rs')
-rwxr-xr-xazalea-protocol/src/lib.rs3
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,