[No-auto] lib/domain/bookmark: Fix Clippy warnings

Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
flip1995 2019-08-27 11:48:53 +02:00 committed by Matthias Beyer
parent b2997517bb
commit 2ac2a86c7a

View file

@ -119,7 +119,6 @@ impl BookmarkCollection for Entry {
pub mod iter {
use crate::link::Link;
use failure::Fallible as Result;
use failure::Error;
use regex::Regex;
use libimagentryurl::iter::UrlIter;
@ -162,7 +161,7 @@ pub mod iter {
loop {
let n = match self.0.next() {
Some(Ok(n)) => n,
Some(Err(e)) => return Some(Err(Error::from(e))),
Some(Err(e)) => return Some(Err(e)),
None => return None,
};