bevy/crates/bevy_ecs/src
Boxy ed773dbe30 Misc query.rs cleanup (#5591)
# Objective
- `for_each` methods inconsistently used an actual generic param or `impl Trait` change it to use `impl Trait` always, change them to be consistent
- some methods returned `'w 's` or `'_ '_`, change them to return `'_ 's`

## Solution

- Do what i just said

---

## Changelog

- `iter_unsafe` and `get_unchecked` no longer return borrows tied to `'w`

## Migration Guide

transmute the returned borrow from `iter_unsafe` and `get_unchecked` if this broke you (although preferably find a way to write your code that doesnt need to do this...)
2022-08-30 21:56:00 +00:00
..
entity Make most Entity methods const (#5688) 2022-08-30 03:16:22 +00:00
query Add documentation to QueryCombinationIter (#5739) 2022-08-30 00:39:17 +00:00
schedule Remove an outdated workaround for impl Trait (#5659) 2022-08-16 23:40:24 +00:00
storage Remove insert_resource_with_id (#5608) 2022-08-30 20:32:15 +00:00
system Misc query.rs cleanup (#5591) 2022-08-30 21:56:00 +00:00
world Remove insert_resource_with_id (#5608) 2022-08-30 20:32:15 +00:00
archetype.rs Fix various typos (#5417) 2022-07-21 20:46:54 +00:00
bundle.rs add more SAFETY comments and lint for missing ones in bevy_ecs (#4835) 2022-07-04 14:44:24 +00:00
change_detection.rs remove ReflectMut in favor of Mut<dyn Reflect> (#5630) 2022-08-09 16:19:34 +00:00
component.rs add more SAFETY comments and lint for missing ones in bevy_ecs (#4835) 2022-07-04 14:44:24 +00:00
event.rs Warning message for missing events (#5730) 2022-08-30 02:23:04 +00:00
lib.rs Add a module for common system chain/pipe adapters (#5776) 2022-08-30 00:17:20 +00:00
reflect.rs remove ReflectMut in favor of Mut<dyn Reflect> (#5630) 2022-08-09 16:19:34 +00:00