This commit is contained in:
Peter Hayman 2025-04-22 14:39:07 +10:00
parent 04d8fe5fde
commit 06b6d26bfe

View File

@ -61,7 +61,7 @@ async fn get<'a>(path: PathBuf) -> Result<Box<dyn Reader>, AssetReaderError> {
async fn get(path: PathBuf) -> Result<Box<dyn Reader>, AssetReaderError> {
use crate::io::VecReader;
use alloc::{boxed::Box, vec::Vec};
use bevy_platform_support::sync::LazyLock;
use bevy_platform::sync::LazyLock;
use std::io::{self, BufReader, Read};
let str_path = path.to_str().ok_or_else(|| {