diff options
author | Jesse Luehrs <doy@tozt.net> | 2024-01-01 16:06:10 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2024-01-01 16:06:30 -0500 |
commit | b9621938865d4ad24d7bcee7fdbfa0c9c45978c8 (patch) | |
tree | 35430485e92c6e4c9d9747748e9c775debbe0917 /src/api.rs | |
parent | 21e70ce32bdab89adbb66b32c8b69d4b806e5d5f (diff) | |
download | rbw-b9621938865d4ad24d7bcee7fdbfa0c9c45978c8.tar.gz rbw-b9621938865d4ad24d7bcee7fdbfa0c9c45978c8.zip |
clippy and fmt
Diffstat (limited to 'src/api.rs')
-rw-r--r-- | src/api.rs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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), |