diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/domain/libimagbookmark/src/store.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/domain/libimagbookmark/src/store.rs b/lib/domain/libimagbookmark/src/store.rs index 9e3d4429..acaa2674 100644 --- a/lib/domain/libimagbookmark/src/store.rs +++ b/lib/domain/libimagbookmark/src/store.rs @@ -73,7 +73,7 @@ impl BookmarkStore for Store { fn get_bookmark_by_id<'a>(&'a self, sid: StoreId) -> Result<Option<FileLockEntry<'a>>> { if let Some(entry) = self.get(sid)? { if !entry.is_bookmark()? { - return Err(format_err!("Not a bookmark: {}", entry.get_location())); + Err(format_err!("Not a bookmark: {}", entry.get_location())) } else { Ok(Some(entry)) } |