summaryrefslogtreecommitdiffstats
path: root/ffi-macros
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-08-25 17:16:59 +0200
committerNora Widdecke <nora@sequoia-pgp.org>2021-08-27 12:58:07 +0200
commitbc3a911e4e2009615704b9302b28ff09bcf4c2b7 (patch)
tree77496c61b0a12bbe82c3599dee179fc5a807c5da /ffi-macros
parenta7ffba7e699b5e841dc35104278877da39e9ba22 (diff)
ffi, openpgp-ffi, ffi-macros: Correct links.
- Some link targets have moved or were replaced since the link's creation. Make them point to the new location or replacement.
Diffstat (limited to 'ffi-macros')
-rw-r--r--ffi-macros/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffi-macros/src/lib.rs b/ffi-macros/src/lib.rs
index a1088110..992581ee 100644
--- a/ffi-macros/src/lib.rs
+++ b/ffi-macros/src/lib.rs
@@ -25,8 +25,8 @@ mod rust2c;
/// This macro is used to decorate every function exported from
/// Sequoia. It applies the following transformations:
///
-/// - [ffi_catch_abort]
-/// - [cdecl]
+/// - [ffi_catch_abort()]
+/// - [cdecl()]
#[proc_macro_attribute]
pub fn extern_fn(attr: TokenStream, item: TokenStream) -> TokenStream {
cdecl(attr.clone(), ffi_catch_abort(attr, item))