# Objective There is a pattern that appears in multiple places, involving `reflect_clone`, followed by `take`, followed by `map_err` that produces a `FailedDowncast` in a particular form. ## Solution Introduces `reflect_clone_and_take`, which factors out the repeated code. ## Testing `cargo run -p ci` --------- Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com> |
||
|---|---|---|
| .. | ||
| alloc | ||
| bevy_platform | ||
| core | ||
| macros | ||
| std | ||
| foldhash.rs | ||
| glam.rs | ||
| hashbrown.rs | ||
| petgraph.rs | ||
| smallvec.rs | ||
| smol_str.rs | ||
| uuid.rs | ||
| wgpu_types.rs | ||