From 7e17e213be8c92e531ef6bab8d9a5ba38578ab17 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 3 May 2016 14:53:14 +0200 Subject: [PATCH] Fixup ModuleEntryPath macro type --- libimagstore/src/storeid.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libimagstore/src/storeid.rs b/libimagstore/src/storeid.rs index 3734e08a..22390ccd 100644 --- a/libimagstore/src/storeid.rs +++ b/libimagstore/src/storeid.rs @@ -116,6 +116,8 @@ macro_rules! module_entry_path_mod { use std::path::Path; use std::path::PathBuf; + use $crate::storeid::StoreId; + /// A Struct giving you the ability to choose store entries assigned /// to it. /// @@ -140,7 +142,7 @@ macro_rules! module_entry_path_mod { impl $crate::storeid::IntoStoreId for ModuleEntryPath { fn into_storeid(self) -> $crate::storeid::StoreId { - self.0 + StoreId::from(self.0) } } }