bevy/crates/bevy_tasks/src
Clar Fon efda7f3f9c
Simpler lint fixes: makes ci lints work but disables a lint for now (#15376)
Takes the first two commits from #15375 and adds suggestions from this
comment:
https://github.com/bevyengine/bevy/pull/15375#issuecomment-2366968300

See #15375 for more reasoning/motivation.

## Rebasing (rerunning)

```rust
git switch simpler-lint-fixes
git reset --hard main
cargo fmt --all -- --unstable-features --config normalize_comments=true,imports_granularity=Crate
cargo fmt --all
git add --update
git commit --message "rustfmt"
cargo clippy --workspace --all-targets --all-features --fix
cargo fmt --all -- --unstable-features --config normalize_comments=true,imports_granularity=Crate
cargo fmt --all
git add --update
git commit --message "clippy"
git cherry-pick e6c0b94f6795222310fb812fa5c4512661fc7887
```
2024-09-24 11:42:59 +00:00
..
iter Apply Clippy lints regarding lazy evaluation and closures (#14015) 2024-07-01 15:54:40 +00:00
lib.rs Unify crate-level preludes (#15080) 2024-09-08 17:10:57 +00:00
single_threaded_task_pool.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
slice.rs Add an index argument to parallel iteration helpers in bevy_tasks (#12169) 2024-02-29 08:50:44 +00:00
task_pool.rs Allow to expect (adopted) (#15301) 2024-09-20 19:16:42 +00:00
task.rs Remove async-task as a dependency (#13071) 2024-04-23 14:57:55 +00:00
thread_executor.rs remove repetitive code (#12270) 2024-03-03 07:58:22 +00:00
usages.rs Global TaskPool API improvements (#10008) 2023-10-23 20:48:48 +00:00
wasm_task.rs Make Tasks functional on WASM (#13889) 2024-07-16 01:15:03 +00:00