Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rephrase comment about Local<T> for clarity. (Adopted) #11129

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

tygyh
Copy link
Contributor

@tygyh tygyh commented Dec 29, 2023

Objective

Solution

@tygyh tygyh force-pushed the patch-2 branch 5 times, most recently from f88b290 to 57294d2 Compare December 29, 2023 10:40
@matiqo15 matiqo15 added A-ECS Entities, components, systems, and events C-Examples An addition or correction to our examples labels Dec 29, 2023
@tygyh tygyh force-pushed the patch-2 branch 3 times, most recently from 9cd1ec1 to f0c38bc Compare December 29, 2023 14:31
@tygyh
Copy link
Contributor Author

tygyh commented Dec 29, 2023

Several unrelated changes had to be made to please the CI. I do not know why.

@rlidwka
Copy link
Contributor

rlidwka commented Dec 29, 2023

Several unrelated changes had to be made to please the CI. I do not know why.

I guess new rust version just released or something like that.

Can you remove these changes please? They are handled in the separate PR: #11123

@tygyh tygyh force-pushed the patch-2 branch 2 times, most recently from 47ddc68 to 2117626 Compare December 30, 2023 14:12
// for this case. A `Local<T>` refers to a value owned by the system of type `T`, which is automatically
// initialized using `T`'s `FromWorld`* implementation. In this system's `Local` (`counter`), `T` is `u32`.
// for this case. A `Local<T>` refers to a value of type `T` that is owned by the system.
// This value is automatically initialized using `T`'s `FromWorld`* implementation.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// This value is automatically initialized using `T`'s `FromWorld`* implementation.
// This value is automatically initialized using `T`'s `FromWorld`* implementation upon the system's initialization.

This might reformatting afterwards, but it's important to note when it's initialized.

@mockersf mockersf added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Feb 1, 2024
@mockersf mockersf added this pull request to the merge queue Feb 1, 2024
Merged via the queue into bevyengine:main with commit 57c8315 Feb 1, 2024
24 checks passed
tjamaan pushed a commit to tjamaan/bevy that referenced this pull request Feb 6, 2024
)

# Objective

- Finish PR bevyengine#10322

## Solution

- Rebase changes in PR bevyengine#10322 and format the changes.

Co-authored-by: Mauer-Oats <maueroats@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ECS Entities, components, systems, and events C-Examples An addition or correction to our 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.

7 participants