summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/src/armor.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-10-14 11:38:33 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-10-14 12:01:22 +0200
commit2079449be080b4da3cdc8c6f9972f4ac48e58aaf (patch)
treec3b4567348ff7e2f9dd4ffb514996351e1fb9498 /openpgp-ffi/src/armor.rs
parent57531dbe5b277a46982e4dd2b0ab6c20ebe43682 (diff)
Use 'Examples' for the examples section.
- See #480.
Diffstat (limited to 'openpgp-ffi/src/armor.rs')
-rw-r--r--openpgp-ffi/src/armor.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/openpgp-ffi/src/armor.rs b/openpgp-ffi/src/armor.rs
index 9421e783..71ee8539 100644
--- a/openpgp-ffi/src/armor.rs
+++ b/openpgp-ffi/src/armor.rs
@@ -68,7 +68,7 @@ fn int_to_reader_mode(mode: c_int) -> armor::ReaderMode {
///
/// A filter that strips ASCII Armor from a stream of data.
///
-/// # Example
+/// # Examples
///
/// ```c
/// #include <assert.h>
@@ -149,7 +149,7 @@ pub extern "C" fn pgp_armor_reader_from_file(errp: Option<&mut *mut crate::error
/// Creates a `Reader` from a buffer.
///
-/// # Example
+/// # Examples
///
/// ```c
/// #include <assert.h>
@@ -220,7 +220,7 @@ fn pgp_armor_reader_from_bytes(b: *const u8, len: size_t,
/// has not been encountered yet (try reading some data first!), this
/// function returns PGP_ARMOR_KIND_ANY.
///
-/// # Example
+/// # Examples
///
/// See [this] example.
///
@@ -250,7 +250,7 @@ pub extern "C" fn pgp_armor_reader_kind(reader: *const Reader)
/// allocated with `malloc`, and the caller is responsible for freeing
/// both the array and the strings.
///
-/// # Example
+/// # Examples
///
/// See [this] example.
///
@@ -306,7 +306,7 @@ pub extern "C" fn pgp_armor_reader_headers(errp: Option<&mut *mut crate::error::
/// Note: You must call `pgp_armor_writer_finalize` to deallocate this
/// writer.
///
-/// # Example
+/// # Examples
///
/// ```c
/// #define _GNU_SOURCE