Skip to content

Commit 59ca62a

Browse files
Fix formatting
1 parent 1e3b419 commit 59ca62a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/ctap2.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,12 @@ impl<UP: UserPresence, T: TrussedRequirements> Authenticator for crate::Authenti
922922
// 6. process any options present
923923

924924
// RK is not supported in get_assertion
925-
if parameters.options.as_ref().and_then(|options| options.rk).is_some() {
925+
if parameters
926+
.options
927+
.as_ref()
928+
.and_then(|options| options.rk)
929+
.is_some()
930+
{
926931
return Err(Error::InvalidOption);
927932
}
928933

0 commit comments

Comments
 (0)