Skip to content

Commit 06d0ca2

Browse files
style(auth): cargo fmt fixes
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1 parent 87b9a2a commit 06d0ca2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/auth/storage.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,8 @@ impl TouchIdStorage {
327327
use security_framework::passwords::{generic_password, PasswordOptions};
328328
use security_framework_sys::base::errSecItemNotFound;
329329

330-
let opts = PasswordOptions::new_generic_password(SERVICE_NAME, &KeychainStorage::state_key(site));
330+
let opts =
331+
PasswordOptions::new_generic_password(SERVICE_NAME, &KeychainStorage::state_key(site));
331332
match generic_password(opts) {
332333
Ok(bytes) => Ok(serde_json::from_slice(&bytes).unwrap_or_default()),
333334
Err(e) if e.code() == errSecItemNotFound => Ok(SiteData::default()),
@@ -379,7 +380,8 @@ impl TouchIdStorage {
379380
use security_framework::passwords::{delete_generic_password_options, PasswordOptions};
380381
use security_framework_sys::base::errSecItemNotFound;
381382

382-
let opts = PasswordOptions::new_generic_password(SERVICE_NAME, &KeychainStorage::state_key(site));
383+
let opts =
384+
PasswordOptions::new_generic_password(SERVICE_NAME, &KeychainStorage::state_key(site));
383385
match delete_generic_password_options(opts) {
384386
Ok(()) => Ok(()),
385387
Err(e) if e.code() == errSecItemNotFound => Ok(()),

0 commit comments

Comments
 (0)