From afe275692eae6bc64e16e52d58457c7ea12febc0 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 5 Jan 2019 01:31:31 +0100 Subject: [PATCH] Fix: Do not use deprecated StoreId::exists() function Signed-off-by: Matthias Beyer --- lib/entry/libimagentrycategory/src/store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/entry/libimagentrycategory/src/store.rs b/lib/entry/libimagentrycategory/src/store.rs index 8a3ba6dc..e05e8230 100644 --- a/lib/entry/libimagentrycategory/src/store.rs +++ b/lib/entry/libimagentrycategory/src/store.rs @@ -223,7 +223,7 @@ fn mk_category_storeid(base: PathBuf, s: &str) -> Result { #[inline] fn represents_category(store: &Store, sid: StoreId, name: &str) -> Result { - sid.exists() + store.exists(sid.clone()) .context(err_msg("Store id handling error")) .map_err(Error::from) .and_then(|bl| {