aboutsummaryrefslogtreecommitdiff
path: root/src/message/handshake/clientlogin.rs
diff options
context:
space:
mode:
authorMax Audron <me@audron.dev>2026-02-21 14:35:01 +0100
committerMax Audron <me@audron.dev>2026-02-21 14:35:01 +0100
commitf42ef4bec6d1c63c0d8564cfb06e996666dedbe3 (patch)
treee526bf4cae5ecf798469acc157b14122d4a5e25a /src/message/handshake/clientlogin.rs
parentreplace all match_variant instances with try_into (diff)
clean up clippy lints
Diffstat (limited to 'src/message/handshake/clientlogin.rs')
-rw-r--r--src/message/handshake/clientlogin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message/handshake/clientlogin.rs b/src/message/handshake/clientlogin.rs
index b619e48..4be4442 100644
--- a/src/message/handshake/clientlogin.rs
+++ b/src/message/handshake/clientlogin.rs
@@ -16,7 +16,7 @@ impl HandshakeSerialize for ClientLogin {
values.insert("MsgType".to_string(), Variant::String("ClientLogin".to_string()));
values.insert("User".to_string(), Variant::String(self.user.clone()));
values.insert("Password".to_string(), Variant::String(self.password.clone()));
- return HandshakeSerialize::serialize(&values);
+ HandshakeSerialize::serialize(&values)
}
}