Address most of the cargo-clippy lints

This commit is contained in:
2025-07-02 22:51:58 -05:00
parent f068e8233e
commit 336f1453b9
4 changed files with 7 additions and 7 deletions

View File

@@ -28,7 +28,7 @@ impl Release {
let published = "Published:".bright_green();
let created = "Created:".green().dimmed();
let author = "Author:".blue();
let body = if self.body.len() > 0 {
let body = if !self.body.is_empty() {
&self.body.white()
} else {
&String::from("(empty body)").dimmed()