Browse Source

Remove unused variable

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
tags/pre-alpha-0.2.0
Matthias Beyer 5 months ago
parent
commit
fb36dc58c8
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      melib/src/email/parser.rs

+ 1
- 1
melib/src/email/parser.rs View File

@@ -800,7 +800,7 @@ pub fn mailto(mut input: &[u8]) -> IResult<&[u8], Mailto> {
let end = input.iter().position(|e| *e == b'?').unwrap_or(input.len());
let address: Address;

if let IResult::Done(rest, addr) = crate::email::parser::address(&input[..end]) {
if let IResult::Done(_, addr) = crate::email::parser::address(&input[..end]) {
address = addr;
input = if input[end..].is_empty() {
&input[end..]

Loading…
Cancel
Save