Skip to content

Commit a752af9

Browse files
committed
fix clippy
1 parent a03bcf8 commit a752af9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/signed_doc/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub use metadata::{
3030
use minicbor::{decode, encode, Decode, Decoder, Encode};
3131
pub use signature::{CatalystId, Signatures};
3232

33-
use crate::{builder::SignaturesBuilder, metadata::SupportedLabel};
33+
use crate::{builder::SignaturesBuilder, metadata::SupportedLabel, signature::Signature};
3434

3535
/// `COSE_Sign` object CBOR tag <https://datatracker.ietf.org/doc/html/rfc8152#page-8>
3636
const COSE_SIGN_CBOR_TAG: minicbor::data::Tag = minicbor::data::Tag::new(98);
@@ -167,7 +167,7 @@ impl CatalystSignedDocument {
167167
self.inner
168168
.signatures
169169
.iter()
170-
.map(|s| s.kid())
170+
.map(Signature::kid)
171171
.cloned()
172172
.collect()
173173
}

0 commit comments

Comments
 (0)