adjust according to clippy

This commit is contained in:
Navid Sassan 2024-02-18 20:47:20 +01:00
parent 8715683b4e
commit 1eae3068d8
2 changed files with 2 additions and 4 deletions

View File

@ -1,5 +1,3 @@
use reqwest;
pub mod model;
// https://bitwarden.com/help/vault-management-api/

View File

@ -241,10 +241,10 @@ fn get_title(item: &model::response::ListObjectItemsDataData, folders: &HashMap<
title.push_str(&collections[collection_id]);
}
if !item.collectionIds.is_empty() {
title.push_str("/");
title.push('/');
}
if title.len() == 0 {
if title.is_empty() {
title.push_str("ungrouped/");
}