diff --git a/src/callers/song.rs b/src/callers/song.rs index 902fae3..b87834b 100644 --- a/src/callers/song.rs +++ b/src/callers/song.rs @@ -55,11 +55,7 @@ pub mod status { pub const DONE: &str = "done"; pub async fn is_valid(status: &str) -> bool { - if status == PENDING || status == PROCESSING || status == DONE { - true - } else { - false - } + status == PENDING || status == PROCESSING || status == DONE } }