clippy + maudfmt
This commit is contained in:
@@ -62,7 +62,7 @@ impl Backend {
|
||||
})
|
||||
.collect();
|
||||
|
||||
let user_is_in_top = ret.iter().find(|x| &x.client == client).is_some();
|
||||
let user_is_in_top = ret.iter().any(|x| &x.client == client);
|
||||
if !user_is_in_top {
|
||||
let row = sqlx::query!(
|
||||
"WITH ranked_clients AS (
|
||||
|
Reference in New Issue
Block a user