diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-09-10 10:22:30 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-09-10 10:22:36 +0200 |
commit | 4c73bf34c4f85a8766eec0a7ca30231de016efcd (patch) | |
tree | 5de748a51299bddd3bf0e9fe9c49e639e954905d /net/src/wkd.rs | |
parent | 50b3f08d05c259433e31c6e749ceaa72cfbc0584 (diff) |
net: Make function private.
Diffstat (limited to 'net/src/wkd.rs')
-rw-r--r-- | net/src/wkd.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/src/wkd.rs b/net/src/wkd.rs index 4359e975..9f4f9bcc 100644 --- a/net/src/wkd.rs +++ b/net/src/wkd.rs @@ -223,7 +223,7 @@ fn encode_local_part<S: AsRef<str>>(local_part: S) -> String { /// The key needs to carry a User ID packet ([RFC4880]) with that mail /// address. /// ``` -pub(crate) fn parse_body<S: AsRef<str>>(body: &[u8], email_address: S) +fn parse_body<S: AsRef<str>>(body: &[u8], email_address: S) -> Result<Vec<TPK>> { let email_address = email_address.as_ref(); // This will fail on the first packet that can not be parsed. |