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:
kaczmarczyck
2023-03-09 12:08:34 +01:00
committed by GitHub
parent ca65902a8f
commit 752db8cc90
5 changed files with 9 additions and 10 deletions

View File

@@ -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")]