bevy/crates/bevy_asset/src
TimJentzsch 694c980c82 Fix clippy::iter_with_drain (#6485)
# Objective

Fixes #6483.

- Fix the [`clippy::iter_with_drain`](https://rust-lang.github.io/rust-clippy/master/index.html#iter_with_drain) warnings
- From the docs: "`.into_iter()` is simpler with better performance"

## Solution

- Replace `.drain(..)` for `Vec` with `.into_iter()`
2022-11-06 01:42:15 +00:00
..
diagnostic docs: Full documentation for bevy_asset (#3536) 2022-07-12 15:44:09 +00:00
io Add warning when using load_folder on web (#5827) 2022-08-29 22:26:43 +00:00
asset_server.rs fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00
assets.rs add ReflectAsset and ReflectHandle (#5923) 2022-10-28 20:42:33 +00:00
debug_asset_server.rs Plugins own their settings. Rework PluginGroup trait. (#6336) 2022-10-24 21:20:33 +00:00
filesystem_watcher.rs Update to notify 5.0 stable (#5865) 2022-09-02 15:54:54 +00:00
handle.rs Rename Handle::as_weak() to cast_weak() (#5321) 2022-10-28 22:43:14 +00:00
info.rs docs: Full documentation for bevy_asset (#3536) 2022-07-12 15:44:09 +00:00
lib.rs Revert "Show prelude re-exports in docs (#6448)" (#6449) 2022-11-02 20:40:45 +00:00
loader.rs Fix clippy::iter_with_drain (#6485) 2022-11-06 01:42:15 +00:00
path.rs Add From<String> for AssetPath<'a> (#6337) 2022-10-24 14:14:24 +00:00
reflect.rs add ReflectAsset and ReflectHandle (#5923) 2022-10-28 20:42:33 +00:00