We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71b3711 commit b02df27Copy full SHA for b02df27
cryptoki/src/object.rs
@@ -598,9 +598,7 @@ impl Attribute {
598
Attribute::VerifyRecover(_) => AttributeType::VerifyRecover,
599
Attribute::Wrap(_) => AttributeType::Wrap,
600
Attribute::WrapWithTrusted(_) => AttributeType::WrapWithTrusted,
601
- Attribute::Unhandled(attribute_type, _) => {
602
- AttributeType::Unhandled(attribute_type.clone())
603
- }
+ Attribute::Unhandled(attribute_type, _) => AttributeType::Unhandled(*attribute_type),
604
}
605
606
0 commit comments