diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-10-14 11:38:33 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-10-14 12:01:22 +0200 |
commit | 2079449be080b4da3cdc8c6f9972f4ac48e58aaf (patch) | |
tree | c3b4567348ff7e2f9dd4ffb514996351e1fb9498 /ffi-macros | |
parent | 57531dbe5b277a46982e4dd2b0ab6c20ebe43682 (diff) |
Use 'Examples' for the examples section.
- See #480.
Diffstat (limited to 'ffi-macros')
-rw-r--r-- | ffi-macros/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ffi-macros/src/lib.rs b/ffi-macros/src/lib.rs index 6a3d2386..1500a721 100644 --- a/ffi-macros/src/lib.rs +++ b/ffi-macros/src/lib.rs @@ -106,7 +106,7 @@ fn doc(s: &str, ts: &mut TokenStream2) { /// [undefined behavior]: https://doc.rust-lang.org/nomicon/unwinding.html /// [catch_unwind]: https://doc.rust-lang.org/std/panic/fn.catch_unwind.html /// -/// # Example +/// # Examples /// /// ```rust,ignore /// #[ffi_catch_abort] @@ -175,7 +175,7 @@ pub fn ffi_catch_abort(_attr: TokenStream, item: TokenStream) -> TokenStream { /// Derives FFI functions for a wrapper type. /// -/// # Example +/// # Examples /// /// ```rust,ignore /// /// Holds a fingerprint. |