summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-01-23 20:05:28 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-01-24 10:43:32 +0100
commite3c220c47e9d662e5744a964474d222220a8e5ba (patch)
tree54442cacec71c99f0d128c0c721a76159a3dd72c
parentaace0d2f95faa1e86dd15c68c42dfe1a73dbe4de (diff)
openpgp: Fix doc.
-rw-r--r--openpgp/src/cert/key_amalgamation.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/cert/key_amalgamation.rs b/openpgp/src/cert/key_amalgamation.rs
index f206e0ce..cf2d74b6 100644
--- a/openpgp/src/cert/key_amalgamation.rs
+++ b/openpgp/src/cert/key_amalgamation.rs
@@ -318,8 +318,8 @@ impl<'a, P: key::KeyParts> PrimaryKeyAmalgamation<'a, P> {
///
/// If `time` is `None`, the current time is used.
///
- /// This transforms the `KeyAmalgamation` into a
- /// `ValidKeyAmalgamation`.
+ /// This transforms the `PrimaryKeyAmalgamation` into a
+ /// `ValidPrimaryKeyAmalgamation`.
pub fn policy<T>(self, time: T)
-> Result<ValidPrimaryKeyAmalgamation<'a, P>>
where T: Into<Option<time::SystemTime>>