Skip to content

Fix missing Ok() in template(|ctx|{}) docs - #25487

Open
laundmo wants to merge 1 commit into
bevyengine:mainfrom
laundmo:patch-2
Open

Fix missing Ok() in template(|ctx|{}) docs#25487
laundmo wants to merge 1 commit into
bevyengine:mainfrom
laundmo:patch-2

Conversation

@laundmo

@laundmo laundmo commented Aug 20, 2026

Copy link
Copy Markdown
Member

Objective

Doc codeblock was wrong

Solution

fixed it. Also used a less confusing example component and added a ? at the end of the .get() (imaginary MyAssetCollection API, so i think showing the schema is fine even if most .get() return Option)

Testing

nope, did this in web editor

@laundmo laundmo added C-Docs An addition or correction to our documentation A-Scenes Composing and serializing ECS objects D-Straightforward Simple bug fixes and API improvements, docs, test and examples labels Aug 20, 2026
@kfc35 kfc35 added the S-Needs-Review Needs reviewer attention (from anyone!) to move forward label Aug 20, 2026
@alice-i-cecile alice-i-cecile added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Aug 20, 2026
@alice-i-cecile
alice-i-cecile added this pull request to the merge queue Aug 20, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Scenes Composing and serializing ECS objects C-Docs An addition or correction to our documentation D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants