fix build
This commit is contained in:
parent
449d2ac0da
commit
d831e32c67
@ -263,7 +263,7 @@ impl<'a> AssetPath<'a> {
|
|||||||
#[inline]
|
#[inline]
|
||||||
pub fn from_path_buf(path_buf: PathBuf) -> AssetPath<'a> {
|
pub fn from_path_buf(path_buf: PathBuf) -> AssetPath<'a> {
|
||||||
AssetPath {
|
AssetPath {
|
||||||
path: CowArc::Owned(path_buf.into()),
|
path: CowArc::Owned(path_buf.as_os_str().to_str().unwrap().into()),
|
||||||
source: AssetSourceId::Default,
|
source: AssetSourceId::Default,
|
||||||
label: None,
|
label: None,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user