From 83fc541347d8bd276b93956f15208f113761225d Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Tue, 25 Jun 2019 16:11:47 +0200 Subject: openpgp: Improve documentation. --- openpgp/src/crypto/asymmetric.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openpgp/src/crypto/asymmetric.rs') diff --git a/openpgp/src/crypto/asymmetric.rs b/openpgp/src/crypto/asymmetric.rs index a3b55aaf..5cb0221d 100644 --- a/openpgp/src/crypto/asymmetric.rs +++ b/openpgp/src/crypto/asymmetric.rs @@ -44,9 +44,10 @@ pub trait Decryptor { /// /// A `KeyPair` is a combination of public and secret key. If both /// are available in memory, a `KeyPair` is a convenient -/// implementation of [`Signer`]. +/// implementation of [`Signer`] and [`Decryptor`]. /// /// [`Signer`]: trait.Signer.html +/// [`Decryptor`]: trait.Decryptor.html #[derive(Clone)] pub struct KeyPair { public: Key, -- cgit v1.2.3