From 5fa189fb4e01cf07b832224f3cf1ff6cec74ec4e Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 8 Jul 2016 00:12:05 +0200 Subject: [PATCH] Impl BookmarkCollection::delete() --- libimagbookmark/src/collection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libimagbookmark/src/collection.rs b/libimagbookmark/src/collection.rs index 593990a5..b1def1d7 100644 --- a/libimagbookmark/src/collection.rs +++ b/libimagbookmark/src/collection.rs @@ -75,7 +75,7 @@ impl<'a> BookmarkCollection<'a> { } pub fn delete(store: &Store, name: &str) -> Result<()> { - unimplemented!() + store.delete(ModuleEntryPath::new(name).into_storeid()).map_err_into(BEK::StoreReadError) } pub fn links(&self) -> Result> {