summaryrefslogtreecommitdiffstats
path: root/libimagbookmark
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-07-08 00:12:05 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-07-08 00:12:05 +0200
commit5fa189fb4e01cf07b832224f3cf1ff6cec74ec4e (patch)
treeab3583e026d28cb016f4387720f4899a19bb1fb9 /libimagbookmark
parented1eea053acd6766f79fef3a3600e8fff5c24d0e (diff)
Impl BookmarkCollection::delete()
Diffstat (limited to 'libimagbookmark')
-rw-r--r--libimagbookmark/src/collection.rs2
1 files changed, 1 insertions, 1 deletions
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<Vec<Url>> {