Skip to content

Incorrect documentation for LoadContext.read_asset_bytes #10302

Closed

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>(

Activity

  1. added
    C-DocsAn addition or correction to our documentation
    S-Needs-TriageThis issue needs to be labelled
    on Oct 29, 2023
  2. added a commit that references this issue on Nov 3, 2023
    708569c
  3. added a commit that references this issue on Nov 4, 2023
    1523014
  4. added a commit that references this issue on Nov 6, 2023
    2631f4c
  5. added a commit that references this issue on Jan 9, 2024
    301121b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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