Skip to content

Commit

Permalink
fix compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rlidwka committed Nov 8, 2023
1 parent ae7c671 commit 7cefa64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/asset/processing/asset_processing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ impl AssetLoader for TextLoader {
reader: &'a mut Reader,
settings: &'a TextSettings,
_load_context: &'a mut LoadContext,
) -> BoxedFuture<'a, Result<Text, bevy_asset::Error>> {
) -> BoxedFuture<'a, Result<Text, bevy::asset::Error>> {
Box::pin(async move {
let mut bytes = Vec::new();
reader.read_to_end(&mut bytes).await?;
Expand Down Expand Up @@ -138,7 +138,7 @@ impl AssetLoader for CoolTextLoader {
reader: &'a mut Reader,
_settings: &'a Self::Settings,
load_context: &'a mut LoadContext,
) -> BoxedFuture<'a, Result<CoolText, bevy_asset::Error>> {
) -> BoxedFuture<'a, Result<CoolText, bevy::asset::Error>> {
Box::pin(async move {
let mut bytes = Vec::new();
reader.read_to_end(&mut bytes).await?;
Expand Down Expand Up @@ -182,7 +182,7 @@ impl AssetSaver for CoolTextSaver {
writer: &'a mut Writer,
asset: SavedAsset<'a, Self::Asset>,
settings: &'a Self::Settings,
) -> BoxedFuture<'a, Result<TextSettings, bevy_asset::Error>> {
) -> BoxedFuture<'a, Result<TextSettings, bevy::asset::Error>> {
Box::pin(async move {
let text = format!("{}{}", asset.text.clone(), settings.appended);
writer.write_all(text.as_bytes()).await?;
Expand Down

0 comments on commit 7cefa64

Please sign in to comment.