Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Firstyear committed Oct 27, 2023
1 parent 8691f48 commit 0918fe2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
6 changes: 3 additions & 3 deletions compat_tester/webauthn-rs-demo/pkg/webauthn_rs_demo_wasm.js
Original file line number Diff line number Diff line change
Expand Up @@ -833,15 +833,15 @@ function __wbg_get_imports() {
const ret = wasm.memory;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1202 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1203 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 450, __wbg_adapter_34);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1722 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1723 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 639, __wbg_adapter_37);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1865 = function(arg0, arg1, arg2) {
imports.wbg.__wbindgen_closure_wrapper1866 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 661, __wbg_adapter_40);
return addHeapObject(ret);
};
Expand Down
Binary file modified compat_tester/webauthn-rs-demo/pkg/webauthn_rs_demo_wasm_bg.wasm
Binary file not shown.
8 changes: 2 additions & 6 deletions webauthn-rs/src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -551,9 +551,7 @@ impl From<&AttestedResidentKey> for DiscoverableKey {
#[cfg(all(feature = "conditional-ui", feature = "resident-key-support"))]
impl From<AttestedResidentKey> for DiscoverableKey {
fn from(k: AttestedResidentKey) -> Self {
DiscoverableKey {
cred: k.cred,
}
DiscoverableKey { cred: k.cred }
}
}

Expand All @@ -569,8 +567,6 @@ impl From<&Passkey> for DiscoverableKey {
#[cfg(feature = "conditional-ui")]
impl From<Passkey> for DiscoverableKey {
fn from(k: Passkey) -> Self {
DiscoverableKey {
cred: k.cred,
}
DiscoverableKey { cred: k.cred }
}
}
2 changes: 0 additions & 2 deletions webauthn-rs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1225,10 +1225,8 @@ impl Webauthn {
}
}


#[cfg(feature = "conditional-ui")]
impl Webauthn {

/// This function will initiate a conditional ui authentication for discoverable
/// credentials.
///
Expand Down

0 comments on commit 0918fe2

Please sign in to comment.