refactor: some clippy recommendations

This commit is contained in:
izzy
2025-05-13 10:48:56 +01:00
parent 2aff76c369
commit 69ae767175
29 changed files with 67 additions and 81 deletions

View File

@@ -399,7 +399,7 @@ impl Interactions {
}
}
impl<'a> MessageAuthor<'a> {
impl MessageAuthor<'_> {
pub fn id(&self) -> &str {
match self {
MessageAuthor::User(user) => &user.id,