summaryrefslogtreecommitdiffstats
path: root/ffi
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 /ffi
parent078c4d7ee16ea06977ec8cb7cf5571c880e9c710 (diff)
Convert markdown to intra-doc links.
- Apply cargo intraconv.
Diffstat (limited to 'ffi')
-rw-r--r--ffi/src/lib.rs4
-rw-r--r--ffi/src/store.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/ffi/src/lib.rs b/ffi/src/lib.rs
index 1edf1493..40e3672e 100644
--- a/ffi/src/lib.rs
+++ b/ffi/src/lib.rs
@@ -38,12 +38,12 @@
//! use [`Box::into_raw(..)`]. From this moment on, ownership must be
//! managed by the C application.
//!
-//! [`Box::into_raw(..)`]: https://doc.rust-lang.org/std/boxed/struct.Box.html#method.into_raw
+//! [`Box::into_raw(..)`]: std::boxed::Box::into_raw()
//!
//! To transfer ownership from C to Rust, we re-create the box using
//! [`Box::from_raw(..)`].
//!
-//! [`Box::from_raw(..)`]: https://doc.rust-lang.org/std/boxed/struct.Box.html#method.from_raw
+//! [`Box::from_raw(..)`]: std::boxed::Box::from_raw()
//!
//! In this crate we use a series of macros to transfer ownership from
//! Rust to C. `fry_box` matches on `Result<T>`, handling errors by
diff --git a/ffi/src/store.rs b/ffi/src/store.rs
index e4082d5a..9c32cf4d 100644
--- a/ffi/src/store.rs
+++ b/ffi/src/store.rs
@@ -14,7 +14,7 @@
//! Sequoia updates keys in compliance with the [network policy] used
//! to create the store.
//!
-//! [network policy]: ../../sequoia_core/enum.NetworkPolicy.html
+//! [network policy]: super::super::sequoia_core::NetworkPolicy
//!
//! # Examples
//!