mirror of
https://github.com/MedzikUser/servers
synced 2024-08-14 23:57:48 +00:00
fix(lint): clippy warnings
This commit is contained in:
parent
45a9fe605d
commit
5fa16c6705
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ impl Client {
|
||||||
let mut decoded = String::from_utf8(buf.to_vec())?;
|
let mut decoded = String::from_utf8(buf.to_vec())?;
|
||||||
|
|
||||||
// remove new line characters
|
// remove new line characters
|
||||||
while decoded.ends_with("\n") || decoded.ends_with("\r") {
|
while decoded.ends_with('\n') || decoded.ends_with('\r') {
|
||||||
decoded.pop();
|
decoded.pop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue