aboutsummaryrefslogtreecommitdiffstats
path: root/src/api.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2024-01-01 16:06:10 -0500
committerJesse Luehrs <doy@tozt.net>2024-01-01 16:06:30 -0500
commitb9621938865d4ad24d7bcee7fdbfa0c9c45978c8 (patch)
tree35430485e92c6e4c9d9747748e9c775debbe0917 /src/api.rs
parent21e70ce32bdab89adbb66b32c8b69d4b806e5d5f (diff)
downloadrbw-b9621938865d4ad24d7bcee7fdbfa0c9c45978c8.tar.gz
rbw-b9621938865d4ad24d7bcee7fdbfa0c9c45978c8.zip
clippy and fmt
Diffstat (limited to 'src/api.rs')
-rw-r--r--src/api.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/api.rs b/src/api.rs
index e770013..ca3c43b 100644
--- a/src/api.rs
+++ b/src/api.rs
@@ -1046,10 +1046,10 @@ impl Client {
) -> Result<()> {
let mut req = CiphersPutReq {
ty: match data {
- crate::db::EntryData::Login {..} => 1,
- crate::db::EntryData::SecureNote {..} => 2,
- crate::db::EntryData::Card {..} => 3,
- crate::db::EntryData::Identity {..} => 4,
+ crate::db::EntryData::Login { .. } => 1,
+ crate::db::EntryData::SecureNote { .. } => 2,
+ crate::db::EntryData::Card { .. } => 3,
+ crate::db::EntryData::Identity { .. } => 4,
},
folder_id: folder_uuid.map(std::string::ToString::to_string),
organization_id: org_id.map(std::string::ToString::to_string),