Impl IntoStoreId for PathBuf, using StoreId::new_baseless()
This commit is contained in:
parent
17dbb1da29
commit
fedb75ec98
1 changed files with 6 additions and 0 deletions
|
@ -121,6 +121,12 @@ impl IntoStoreId for StoreId {
|
|||
}
|
||||
}
|
||||
|
||||
impl IntoStoreId for PathBuf {
|
||||
fn into_storeid(self) -> Result<StoreId> {
|
||||
StoreId::new_baseless(self)
|
||||
}
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! module_entry_path_mod {
|
||||
($name:expr, $version:expr) => (
|
||||
|
|
Loading…
Reference in a new issue