-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[Merged by Bors] - Cleanup some outdated parts of ecs_guide #4342
Conversation
// For any type which is `Default`, like `u32` in this example, `FromWorld` creates the default value. | ||
fn print_at_end_round(mut counter: Local<u32>) { | ||
*counter += 1; | ||
println!("In stage 'Last' for the {}th time", *counter); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally this would use the correct suffix, but that should probably be part of an external crate. We don't currently depend on (MPL 2.0)ordinal
or an equivalent, as far as I know.
I'm ready to merge once CI passes and I have a second approval :) |
CI failure appears to be spurious |
bors try |
tryBuild failed: |
bors try |
@bevyengine/docs-team This is ready to go but I need another review. |
bors r+ |
# Objective - `Local`s can no longer be accessed outside of their creating system, but these docs say they can be. - There's also little reason to have a pure wrapper type for `Local`s; they can just use the real type. The parameter name should be sufficiently documenting.
# Objective - `Local`s can no longer be accessed outside of their creating system, but these docs say they can be. - There's also little reason to have a pure wrapper type for `Local`s; they can just use the real type. The parameter name should be sufficiently documenting.
# Objective - `Local`s can no longer be accessed outside of their creating system, but these docs say they can be. - There's also little reason to have a pure wrapper type for `Local`s; they can just use the real type. The parameter name should be sufficiently documenting.
Objective
Local
s can no longer be accessed outside of their creating system, but these docs say they can be.Local
s; they can just use the real type. The parameter name should be sufficiently documenting.