Fix a clippy lint warning

This commit is contained in:
ridiculousfish 2023-07-03 14:08:27 -07:00
parent 35f8f421fe
commit ec28a30bd6

View File

@ -96,7 +96,7 @@ impl generation_list_t {
fn describe(&self) -> WString {
let mut result = WString::new();
for gen in self.as_array() {
if result.len() > 0 {
if !result.is_empty() {
result.push(',');
}
if gen == invalid_generation {