Fixup ModuleEntryPath macro type

This commit is contained in:
Matthias Beyer 2016-05-03 14:53:14 +02:00
parent b4db587a10
commit 7e17e213be

View file

@ -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)
}
}
}