summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-09-10 10:22:30 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-09-10 10:22:36 +0200
commit4c73bf34c4f85a8766eec0a7ca30231de016efcd (patch)
tree5de748a51299bddd3bf0e9fe9c49e639e954905d /net
parent50b3f08d05c259433e31c6e749ceaa72cfbc0584 (diff)
net: Make function private.
Diffstat (limited to 'net')
-rw-r--r--net/src/wkd.rs2
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.