From 2ac2a86c7a65d45322cd0ab20a7d2e1afead54db Mon Sep 17 00:00:00 2001 From: flip1995 Date: Tue, 27 Aug 2019 11:48:53 +0200 Subject: [PATCH] [No-auto] lib/domain/bookmark: Fix Clippy warnings Signed-off-by: flip1995 Signed-off-by: Matthias Beyer --- lib/domain/libimagbookmark/src/collection.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/domain/libimagbookmark/src/collection.rs b/lib/domain/libimagbookmark/src/collection.rs index dba426c3..0fc85b79 100644 --- a/lib/domain/libimagbookmark/src/collection.rs +++ b/lib/domain/libimagbookmark/src/collection.rs @@ -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, };