diff -r 509ecce37522 -r 9cbd18220eb7 rust/landgen/src/wavefront_collapse/generator.rs --- a/rust/landgen/src/wavefront_collapse/generator.rs Tue Sep 03 11:16:52 2024 +0200 +++ b/rust/landgen/src/wavefront_collapse/generator.rs Tue Sep 03 13:56:35 2024 +0200 @@ -58,7 +58,10 @@ impl WavefrontCollapseLandGenerator { pub fn new(template: TemplateDescription, data_path: &Path) -> Self { - Self { template, data_path: data_path.to_owned() } + Self { + template, + data_path: data_path.to_owned(), + } } fn load_image_tiles( @@ -69,7 +72,8 @@ let mut result = Vec::new(); let file = File::open( - self.data_path.join("Tiles") + self.data_path + .join("Tiles") .join(&tile_description.name) .as_path(), )?;