diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-11-25 23:13:15 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-11-25 23:17:16 -0500 |
commit | 416a144674716eadff8bbaf436c8996a0a40d523 (patch) | |
tree | 6b6c759aa13edbef197cb469a10e180d5eb918c7 /openpgp-ffi/src/packet/userid.rs | |
parent | a65039bfd04a69c383f09e629ec679adf151bcb6 (diff) |
OpenPGP User ID convention is "de facto" not "de factor"
I'm not even sure if we even need to use "de facto" when we're also
saying "convention", but i'm just doing a targeted fix here.
The fact that this one string was copied around in a dozen places
makes me a bit sad. If there are other changes to make in this
boilerplate text, they'll also have to be made in a dozen places.
I don't know enough about how sequoia is designed to be able to
suggest a plausible boilerplate reduction strategy though.
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'openpgp-ffi/src/packet/userid.rs')
-rw-r--r-- | openpgp-ffi/src/packet/userid.rs | 12 |
1 files changed, 6 insertions, 6 deletions
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. |