Skip to content

Commit

Permalink
Corrected incorrect doc comment on read_asset_bytes (bevyengine#10352)
Browse files Browse the repository at this point in the history
Fixes bevyengine#10302 

## Solution

- Removed the incorrect comment.
  • Loading branch information
papow65 authored and ameknite committed Nov 6, 2023
1 parent 4d716d1 commit 2631f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_asset/src/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ impl<'a> LoadContext<'a> {
&self.asset_path
}

/// Gets the source asset path for this load context.
/// Reads the asset at the given path and returns its bytes
pub async fn read_asset_bytes<'b, 'c>(
&'b mut self,
path: impl Into<AssetPath<'c>>,
Expand Down

0 comments on commit 2631f4c

Please sign in to comment.