Fix: clippy
This commit is contained in:
1 parent
c6f561ebe3
commit
6a756174c7
1 file changed
+1
-1
@@ -67,7 +67,7 @@ impl Client {
|
|||||||
name.len() <= 16
|
name.len() <= 16
|
||||||
&& name
|
&& name
|
||||||
.chars()
|
.chars()
|
||||||
.all(|c| c > 32 as u8 as char && c < 127 as u8 as char)
|
.all(|c| c > 32_u8 as char && c < 127_u8 as char)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn handle_login_start(&mut self, server: &mut Server, login_start: SLoginStart) {
|
pub fn handle_login_start(&mut self, server: &mut Server, login_start: SLoginStart) {
|
||||||
|
|||||||
Reference in new issue
Block a user