diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-08-24 12:26:35 +0200 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-08-27 12:58:06 +0200 |
commit | 078c4d7ee16ea06977ec8cb7cf5571c880e9c710 (patch) | |
tree | d929c970f9b6920a8f29edc903f4488ea3c6d5c3 /openpgp/src/serialize.rs | |
parent | b3eeed5cad0031accc3ae848b44c44014d1fd78a (diff) |
openpgp: Add links.
Diffstat (limited to 'openpgp/src/serialize.rs')
-rw-r--r-- | openpgp/src/serialize.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openpgp/src/serialize.rs b/openpgp/src/serialize.rs index d13d461c..7129240a 100644 --- a/openpgp/src/serialize.rs +++ b/openpgp/src/serialize.rs @@ -330,7 +330,7 @@ pub trait SerializeInto : MarshalInto { /// /// If the length of the given slice is smaller than the maximal /// length computed by `serialized_len()`, this function returns - /// `Error::InvalidArgument`. + /// [`Error::InvalidArgument`]. fn serialize_into(&self, buf: &mut [u8]) -> Result<usize> { MarshalInto::serialize_into(self, buf) } @@ -361,7 +361,7 @@ pub trait SerializeInto : MarshalInto { /// /// If the length of the given slice is smaller than the maximal /// length computed by `serialized_len()`, this function returns - /// `Error::InvalidArgument`. + /// [`Error::InvalidArgument`]. fn export_into(&self, buf: &mut [u8]) -> Result<usize> { MarshalInto::export_into(self, buf) } @@ -422,7 +422,7 @@ pub trait MarshalInto : seal::Sealed { /// /// If the length of the given slice is smaller than the maximal /// length computed by `serialized_len()`, this function returns - /// `Error::InvalidArgument`. + /// [`Error::InvalidArgument`]. fn serialize_into(&self, buf: &mut [u8]) -> Result<usize>; /// Serializes the packet to a vector. @@ -455,7 +455,7 @@ pub trait MarshalInto : seal::Sealed { /// /// If the length of the given slice is smaller than the maximal /// length computed by `serialized_len()`, this function returns - /// `Error::InvalidArgument`. + /// [`Error::InvalidArgument`]. fn export_into(&self, buf: &mut [u8]) -> Result<usize> { self.serialize_into(buf) } |