File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ( ( ) ) ,
You can’t perform that action at this time.
0 commit comments