diff options
-rw-r--r-- | openpgp-ffi/include/sequoia/openpgp.h | 12 | ||||
-rw-r--r-- | openpgp-ffi/src/packet/userid.rs | 12 | ||||
-rw-r--r-- | openpgp/src/packet/userid/mod.rs | 4 |
3 files changed, 14 insertions, 14 deletions
diff --git a/openpgp-ffi/include/sequoia/openpgp.h b/openpgp-ffi/include/sequoia/openpgp.h index fe003422..4339d509 100644 --- a/openpgp-ffi/include/sequoia/openpgp.h +++ b/openpgp-ffi/include/sequoia/openpgp.h @@ -1158,7 +1158,7 @@ pgp_key_pair_t pgp_key_into_key_pair (pgp_error_t *errp, pgp_key_t key); /// Constructs a User ID. /// /// This does a basic check and any necessary escaping to form a de -/// factor User ID. Only the address is required. +/// facto User ID. Only the address is required. /*/ pgp_packet_t pgp_user_id_from_address (pgp_error_t *errp, const char *name, @@ -1169,7 +1169,7 @@ pgp_packet_t pgp_user_id_from_address (pgp_error_t *errp, /// Constructs a User ID. /// /// This does a basic check and any necessary escaping to form a de -/// factor User ID. The address is not checked. +/// facto User ID. The address is not checked. /// /// This is useful when you want to specify a URI instead of an /// email address. @@ -1201,7 +1201,7 @@ const uint8_t *pgp_user_id_value (pgp_packet_t uid, /*/ /// Returns the User ID's name component, if any. /// -/// The User ID is parsed according to de factor convention, and the +/// The User ID is parsed according to de facto convention, and the /// name component is extracted. /// /// If the User ID cannot be parsed, then an error is returned. @@ -1215,7 +1215,7 @@ pgp_status_t pgp_user_id_name(pgp_error_t *errp, pgp_packet_t uid, /*/ /// Returns the User ID's comment field, if any. /// -/// The User ID is parsed according to de factor convention, and the +/// The User ID is parsed according to de facto convention, and the /// comment field is extracted. /// /// If the User ID cannot be parsed, then an error is returned. @@ -1229,7 +1229,7 @@ pgp_status_t pgp_user_id_comment(pgp_error_t *errp, pgp_packet_t uid, /*/ /// Returns the User ID's email address, if any. /// -/// The User ID is parsed according to de factor convention, and the +/// The User ID is parsed according to de facto convention, and the /// email address is extracted. /// /// If the User ID cannot be parsed, then an error is returned. @@ -1266,7 +1266,7 @@ pgp_status_t pgp_user_id_email_normalized(pgp_error_t *errp, pgp_packet_t uid, /*/ /// Returns the User ID's URI, if any. /// -/// The User ID is parsed according to de factor convention, and the +/// The User ID is parsed according to de facto convention, and the /// URI is extracted. /// /// If the User ID cannot be parsed, then an error is returned. diff --git a/openpgp-ffi/src/packet/userid.rs b/openpgp-ffi/src/packet/userid.rs index 9935c2ca..69e49b42 100644 --- a/openpgp-ffi/src/packet/userid.rs +++ b/openpgp-ffi/src/packet/userid.rs @@ -28,7 +28,7 @@ fn pgp_user_id_new(value: *const c_char) /// Constructs a User ID. /// /// This does a basic check and any necessary escaping to form a de -/// factor User ID. Only the address is required. +/// facto User ID. Only the address is required. #[::sequoia_ffi_macros::extern_fn] #[no_mangle] pub extern "C" fn pgp_user_id_from_address( @@ -61,7 +61,7 @@ fn pgp_user_id_from_address( /// Constructs a User ID. /// /// This does a basic check and any necessary escaping to form a de -/// factor User ID. The address is not checked. +/// facto User ID. The address is not checked. /// /// This is useful when you want to specify a URI instead of an /// email address. @@ -128,7 +128,7 @@ fn pgp_user_id_value(uid: *const Packet, value_len: Option<&mut size_t>) /// Returns the User ID's name component, if any. /// -/// The User ID is parsed according to de factor convention, and the +/// The User ID is parsed according to de facto convention, and the /// name component is extracted. /// /// If the User ID cannot be parsed, then an error is returned. @@ -169,7 +169,7 @@ fn pgp_user_id_name( /// Returns the User ID's comment field, if any. /// -/// The User ID is parsed according to de factor convention, and the +/// The User ID is parsed according to de facto convention, and the /// comment field is extracted. /// /// If the User ID cannot be parsed, then an error is returned. @@ -210,7 +210,7 @@ fn pgp_user_id_comment( /// Returns the User ID's email address, if any. /// -/// The User ID is parsed according to de factor convention, and the +/// The User ID is parsed according to de facto convention, and the /// email address is extracted. /// /// If the User ID cannot be parsed, then an error is returned. @@ -251,7 +251,7 @@ fn pgp_user_id_email( /// Returns the User ID's URI, if any. /// -/// The User ID is parsed according to de factor convention, and the +/// The User ID is parsed according to de facto convention, and the /// URI is extracted. /// /// If the User ID cannot be parsed, then an error is returned. diff --git a/openpgp/src/packet/userid/mod.rs b/openpgp/src/packet/userid/mod.rs index 77fca00a..32db23ee 100644 --- a/openpgp/src/packet/userid/mod.rs +++ b/openpgp/src/packet/userid/mod.rs @@ -653,7 +653,7 @@ impl UserID { /// Constructs a User ID. /// /// This does a basic check and any necessary escaping to form a de - /// factor User ID. + /// facto User ID. /// /// Only the address is required. If a comment is supplied, then /// a name is also required. @@ -680,7 +680,7 @@ impl UserID { /// Constructs a User ID. /// /// This does a basic check and any necessary escaping to form a de - /// factor User ID modulo the address, which is not checked. + /// facto User ID modulo the address, which is not checked. /// /// This is useful when you want to specify a URI instead of an /// email address. |