diff options
Diffstat (limited to 'openpgp/src/packet/key.rs')
-rw-r--r-- | openpgp/src/packet/key.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/packet/key.rs b/openpgp/src/packet/key.rs index dae3ff36..da53991d 100644 --- a/openpgp/src/packet/key.rs +++ b/openpgp/src/packet/key.rs @@ -782,7 +782,7 @@ pub struct Key4<P, R> r: std::marker::PhantomData<R>, } -assert_send_and_sync!{Key4<PublicParts, UnspecifiedRole>} +assert_send_and_sync!{Key4<P, R>, P: KeyParts, R: KeyRole} impl<P: KeyParts, R: KeyRole> PartialEq for Key4<P, R> { fn eq(&self, other: &Key4<P, R>) -> bool { |