summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/mem.rs
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-08-23 16:55:26 +0200
committerNora Widdecke <nora@sequoia-pgp.org>2021-08-27 12:58:07 +0200
commite5746684e84377dd8828f6a5a8ab4c0eec73c3ec (patch)
tree5261ba9f497ec5ce51d47198742919673de3c893 /openpgp/src/crypto/mem.rs
parent078c4d7ee16ea06977ec8cb7cf5571c880e9c710 (diff)
Convert markdown to intra-doc links.
- Apply cargo intraconv.
Diffstat (limited to 'openpgp/src/crypto/mem.rs')
-rw-r--r--openpgp/src/crypto/mem.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/openpgp/src/crypto/mem.rs b/openpgp/src/crypto/mem.rs
index 10ef3f4e..1fa6266b 100644
--- a/openpgp/src/crypto/mem.rs
+++ b/openpgp/src/crypto/mem.rs
@@ -12,14 +12,12 @@
//! [`Encrypted`] to protect long-term secrets like passwords and
//! secret keys.
//!
-//! [`Protected`]: struct.Protected.html
-//! [`Encrypted`]: struct.Encrypted.html
//!
//! Furthermore, operations involving secrets must be carried out in a
//! way that avoids leaking information. For example, comparison
//! must be done in constant time with [`secure_cmp`].
//!
-//! [`secure_cmp`]: fn.secure_cmp.html
+//! [`secure_cmp`]: secure_cmp()
use std::cmp::{min, Ordering};
use std::fmt;