diff options
Diffstat (limited to 'net/src')
-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. |