fix(lint): clippy warnings

This commit is contained in:
MedzikUser 2022-08-04 16:39:55 +02:00
parent 45a9fe605d
commit 5fa16c6705
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ impl Client {
let mut decoded = String::from_utf8(buf.to_vec())?;
// remove new line characters
while decoded.ends_with("\n") || decoded.ends_with("\r") {
while decoded.ends_with('\n') || decoded.ends_with('\r') {
decoded.pop();
}