Skip to content

Commit

Permalink
chore: fix clippy warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Irene Diez <[email protected]>
  • Loading branch information
7flying committed Feb 20, 2024
1 parent 8d875ed commit 7bbffae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manufacturing-client/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ impl KeyReference {
allowed_storage_types: Option<&[KeyStorageType]>,
) -> Result<Self> {
let allowed_storage_types = match allowed_storage_types {
Some(storage_types) if storage_types.is_empty() => {
Some([]) => {
bail!("No key storage types allowed")
}
Some(storage_types) => storage_types,
Expand Down

0 comments on commit 7bbffae

Please sign in to comment.