Browse Source

Remove unused variable

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
tags/pre-alpha-0.2.0
Matthias Beyer Manos Pitsidianakis <el13635@mail.ntua.gr> 7 months ago
parent
commit
fb36dc58c8
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS. GPG Key ID: 73627C2F690DF710
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