diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-11-16 01:04:04 +0200 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-11-21 02:09:18 +0200 |
commit | a7c0bca8cef29c9f59beec74fc9b1a6bdfe2b729 (patch) | |
tree | 7e3799d706332eb5826f5edf5478b04a78fe5e62 /melib/src/email/parser.rs | |
parent | 023afbaae360ec1caa41e1f9890784eb022b0bea (diff) |
Fix test errors and warnings
Diffstat (limited to 'melib/src/email/parser.rs')
-rw-r--r-- | melib/src/email/parser.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/melib/src/email/parser.rs b/melib/src/email/parser.rs index e3c497ff..9bd6b6fd 100644 --- a/melib/src/email/parser.rs +++ b/melib/src/email/parser.rs @@ -1200,8 +1200,8 @@ List-Archive: <http://www.host.com/list/archive/> (Web Archive) "#; let (rest, headers) = headers::headers(s.as_bytes()).unwrap(); assert!(rest.is_empty()); - for (h, v) in headers { - let (rest, action_list) = rfc_2369_list_headers_action_list(v).unwrap(); + for (_h, v) in headers { + let (rest, _action_list) = rfc_2369_list_headers_action_list(v).unwrap(); assert!(rest.is_empty()); } } @@ -2486,7 +2486,7 @@ pub mod address { #[cfg(test)] mod tests { - use super::{address::*, encodings::*, generic::*, *}; + use super::{address::*, encodings::*, *}; use crate::email::address::*; use crate::make_address; |