summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/asymmetric.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-06-25 16:11:47 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-06-26 09:22:02 +0200
commit83fc541347d8bd276b93956f15208f113761225d (patch)
treef6db63ab92badaf0d2fc541bab8fb8b791f15568 /openpgp/src/crypto/asymmetric.rs
parent433437b20b8cb33263a293f34589e29eeacabfca (diff)
openpgp: Improve documentation.
Diffstat (limited to 'openpgp/src/crypto/asymmetric.rs')
-rw-r--r--openpgp/src/crypto/asymmetric.rs3
1 files changed, 2 insertions, 1 deletions
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,