Skip to content

Incorrect documentation for LoadContext.read_asset_bytes #10302

Closed
@papow65

Description

@papow65

How can Bevy's documentation be improved?

The documentation for LoadContext.read_asset_bytes is incorrect. It is copied from LoadContext.asset_path.

/// Gets the source asset path for this load context.
pub fn asset_path(&self) -> &AssetPath<'static> {
&self.asset_path
}
/// Gets the source asset path for this load context.
pub async fn read_asset_bytes<'b, 'c>(

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-DocsAn addition or correction to our documentationS-Needs-TriageThis issue needs to be labelled

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions