Happy clippy

main
DaXcess 2024-08-22 10:05:49 +02:00
parent 2651966ad8
commit 9c7d29b546
No known key found for this signature in database
GPG Key ID: CF78CC72F0FD5EAD
1 changed files with 12 additions and 14 deletions

View File

@ -304,8 +304,7 @@ impl PlaybackEmbed {
return ControlFlow::Break(());
}
};
} else {
if let Err(why) = self
} else if let Err(why) = self
.message
.edit(
&self.ctx,
@ -319,7 +318,6 @@ impl PlaybackEmbed {
return ControlFlow::Break(());
}
}
self.last_update = Instant::now();