mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
follow clippy's advice
This commit is contained in:
parent
28da420c82
commit
1f976f9f1c
@ -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())
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user