From 015bf691e0e27896b2b5f1741669b31bf7fad8d9 Mon Sep 17 00:00:00 2001 From: Rob Parrett Date: Sat, 23 Sep 2023 10:44:53 -0700 Subject: [PATCH] fmt --- examples/helpers/tiled.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/examples/helpers/tiled.rs b/examples/helpers/tiled.rs index a70f5490..c48a89ef 100644 --- a/examples/helpers/tiled.rs +++ b/examples/helpers/tiled.rs @@ -237,12 +237,11 @@ pub fn process_loaded_maps( // tilesets on each layer and allows differently-sized tile images in each tileset, // this means we need to load each combination of tileset and layer separately. for (tileset_index, tileset) in tiled_map.map.tilesets().iter().enumerate() { - let Some(tilemap_texture) = tiled_map - .tilemap_textures - .get(&tileset_index) else { - log::warn!("Skipped creating layer with missing tilemap textures."); - continue; - }; + let Some(tilemap_texture) = tiled_map.tilemap_textures.get(&tileset_index) + else { + log::warn!("Skipped creating layer with missing tilemap textures."); + continue; + }; let tile_size = TilemapTileSize { x: tileset.tile_width as f32,