adjust according to clippy
This commit is contained in:
parent
8715683b4e
commit
1eae3068d8
@ -1,5 +1,3 @@
|
||||
use reqwest;
|
||||
|
||||
pub mod model;
|
||||
|
||||
// https://bitwarden.com/help/vault-management-api/
|
||||
|
@ -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/");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user