summaryrefslogtreecommitdiffstats
path: root/openpgp/src/serialize/cert.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-01-07 16:42:37 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-01-07 16:42:37 +0100
commitf10ceaa4ac04dcafe0bce42eb4fed3832225b594 (patch)
treec75c7beac03bfcbeca8534d295fdf16a419564fc /openpgp/src/serialize/cert.rs
parentc3f0c59bf7d826cc955e38bcac68fb336038e67d (diff)
Fix broken links in the documentation.
Diffstat (limited to 'openpgp/src/serialize/cert.rs')
-rw-r--r--openpgp/src/serialize/cert.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/serialize/cert.rs b/openpgp/src/serialize/cert.rs
index 4c217cbf..cad18c63 100644
--- a/openpgp/src/serialize/cert.rs
+++ b/openpgp/src/serialize/cert.rs
@@ -262,7 +262,7 @@ impl Cert {
///
/// This object writes out secret keys during serialization.
///
- /// [`TSK`]: serialize/struct.TSK.html
+ /// [`TSK`]: ../serialize/struct.TSK.html
pub fn as_tsk<'a>(&'a self) -> TSK<'a> {
TSK::new(self)
}
@@ -275,7 +275,7 @@ impl Cert {
/// create a `TSK`, which is a shim on top of the `Cert`, and serialize
/// this.
///
-/// [`Cert::as_tsk()`]: ../struct.Cert.html#method.as_tsk
+/// [`Cert::as_tsk()`]: ../cert/struct.Cert.html#method.as_tsk
///
/// # Example
/// ```