Fixes new clippy lints on the latest nightly (#603)
* Fixes new clippy lints on the latest nightly We didn't see these before because of our old Rust toolchain. * fixes nit
This commit is contained in:
@@ -1513,6 +1513,8 @@ mod test {
|
||||
let mut ctap_state = CtapState::<TestEnv>::new(&mut env);
|
||||
let info_reponse = ctap_state.process_command(&mut env, &[0x04], DUMMY_CHANNEL);
|
||||
|
||||
// Fails when removing `to_vec` for `SUPPORTED_CRED_PARAMS` as linted.
|
||||
#[allow(clippy::unnecessary_to_owned)]
|
||||
let expected_cbor = cbor_map_options! {
|
||||
0x01 => cbor_array_vec![vec![
|
||||
#[cfg(feature = "with_ctap1")]
|
||||
|
||||
Reference in New Issue
Block a user