bevy/crates/bevy_ecs/src
iiYese 653c062ba3 Added missing details to SystemParam Local documentation. (#7106)
# Objective

`SystemParam` `Local`s documentation currently leaves out information that should be documented.
- What happens when multiple `SystemParam`s within the same system have the same `Local` type.
- What lifetime parameter is expected by `Local`.
 
## Solution

- Added sentences to documentation to communicate this information.
- Renamed `Local` lifetimes in code to `'s` where they previously were not. Users can get complicated incorrect suggested fixes if they pass the wrong lifetime. Some instance of the code had `'w` indicating the expected lifetime might not have been known to those that wrote the code either.

Co-authored-by: iiYese <83026177+iiYese@users.noreply.github.com>
2023-01-06 15:40:10 +00:00
..
entity Fix various typos (#7096) 2023-01-06 00:43:30 +00:00
query Fix various typos (#7096) 2023-01-06 00:43:30 +00:00
schedule Fix various typos (#7096) 2023-01-06 00:43:30 +00:00
storage Fix various typos (#7096) 2023-01-06 00:43:30 +00:00
system Added missing details to SystemParam Local documentation. (#7106) 2023-01-06 15:40:10 +00:00
world Fix various typos (#7096) 2023-01-06 00:43:30 +00:00
archetype.rs Fix various typos (#7096) 2023-01-06 00:43:30 +00:00
bundle.rs Extend EntityLocation with TableId and TableRow (#6681) 2023-01-02 21:25:04 +00:00
change_detection.rs Fix various typos (#7096) 2023-01-06 00:43:30 +00:00
component.rs Document options for !Sync types for Component and Resources (#6864) 2022-12-11 18:34:13 +00:00
event.rs Rework manual event iterator so we can actually name the type (#5735) 2022-12-25 00:39:27 +00:00
lib.rs Fix clippy lints and failed test with Rust 1.66 (#6945) 2022-12-15 18:05:15 +00:00
reflect.rs Enable Constructing ReflectComponent/Resource (#6257) 2022-10-17 14:01:50 +00:00