follow clippy's advice

This commit is contained in:
Christof Petig 2023-03-12 20:11:48 +01:00
parent 28da420c82
commit 1f976f9f1c

View File

@ -905,6 +905,6 @@ impl Asset for RonSpots {
lazy_static! {
static ref RON_PROPERTIES: RonSpots = {
let spots: AssetHandle<RonSpots> = AssetExt::load_expect("world.manifests.spots");
RonSpots(spots.read().0.iter().cloned().collect())
RonSpots(spots.read().0.to_vec())
};
}