summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openpgp/src/serialize.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/serialize.rs b/openpgp/src/serialize.rs
index e0034018..ae83c33f 100644
--- a/openpgp/src/serialize.rs
+++ b/openpgp/src/serialize.rs
@@ -725,7 +725,7 @@ impl BodyLength {
/// new-style length, use [`serialize(..)`].
///
/// [`Error::InvalidArgument`]: Error::InvalidArgument
- /// [`serialize(..)`]: #impl-Serialize
+ /// [`serialize(..)`]: Serialize
pub fn serialize_old<W: io::Write>(&self, o: &mut W) -> Result<()> {
// Assume an optimal encoding is desired.
let mut buffer = Vec::with_capacity(4);