identifiers: Fix clippy lint
This commit is contained in:
parent
b6f915b480
commit
9009ec6c3e
@ -37,7 +37,7 @@ impl<E: Ord, K: ?Sized> Signatures<E, K> {
|
|||||||
key_identifier: OwnedSigningKeyId<K>,
|
key_identifier: OwnedSigningKeyId<K>,
|
||||||
value: String,
|
value: String,
|
||||||
) -> Option<String> {
|
) -> Option<String> {
|
||||||
self.0.entry(entity).or_insert_with(Default::default).insert(key_identifier, value)
|
self.0.entry(entity).or_default().insert(key_identifier, value)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a reference to the signatures corresponding to the entities.
|
/// Returns a reference to the signatures corresponding to the entities.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user