bevy/examples/ios
ira 4847f7e3ad Update codebase to use IntoIterator where possible. (#5269)
Remove unnecessary calls to `iter()`/`iter_mut()`.
Mainly updates the use of queries in our code, docs, and examples.

```rust
// From
for _ in list.iter() {
for _ in list.iter_mut() {

// To
for _ in &list {
for _ in &mut list {
```

We already enable the pedantic lint [clippy::explicit_iter_loop](https://rust-lang.github.io/rust-clippy/stable/) inside of Bevy. However, this only warns for a few known types from the standard library.

## Note for reviewers
As you can see the additions and deletions are exactly equal.
Maybe give it a quick skim to check I didn't sneak in a crypto miner, but you don't have to torture yourself by reading every line.
I already experienced enough pain making this PR :) 


Co-authored-by: devil-ira <justthecooldude@gmail.com>
2022-07-11 15:28:50 +00:00
..
bevy_ios_example.xcodeproj Fix iOS CI (#3228) 2021-12-01 21:44:29 +00:00
ios-src An initial xcode setup for using xcode (#539) 2020-10-31 14:36:24 -07:00
src Update codebase to use IntoIterator where possible. (#5269) 2022-07-11 15:28:50 +00:00
.gitignore An initial xcode setup for using xcode (#539) 2020-10-31 14:36:24 -07:00
build_rust_deps.sh Fix iOS CI on Intel (for real this time) (#3232) 2021-12-02 07:44:40 +00:00
Cargo.toml Remove cargo-lipo from iOS ci job (#3671) 2022-01-17 21:43:44 +00:00
Makefile Fix iOS CI (#3228) 2021-12-01 21:44:29 +00:00