diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-11-14 17:49:40 +0200 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-11-14 17:55:24 +0200 |
commit | 56cda63c83897e09c36f7650718c23bb951837ff (patch) | |
tree | f24e3f4949cb8624b606bc69590bcf9065bd498a /melib/src/email/parser.rs | |
parent | c2da09de99a9adfd2c8a25c267c6dbd7f8e76d87 (diff) |
Fix some warnings
Diffstat (limited to 'melib/src/email/parser.rs')
-rw-r--r-- | melib/src/email/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/melib/src/email/parser.rs b/melib/src/email/parser.rs index 3ccc1c46..747ac747 100644 --- a/melib/src/email/parser.rs +++ b/melib/src/email/parser.rs @@ -467,7 +467,7 @@ fn display_addr(input: &[u8]) -> IResult<&[u8], Address> { match phrase(&input[0..end + display_name.length + 3]) { IResult::Error(e) => IResult::Error(e), IResult::Incomplete(i) => IResult::Incomplete(i), - IResult::Done(rest, raw) => { + IResult::Done(_, raw) => { let display_name_end = raw.find(b"<").unwrap(); display_name.length = { raw[0..display_name_end].trim().len() }; let address_spec = if display_name_end == 0 { |