Bump edition to 2024, cargo fmt

This commit is contained in:
2025-04-07 11:09:45 -07:00
parent 622b7d0b3a
commit 58293ed625
6 changed files with 15 additions and 10 deletions
+3 -1
View File
@@ -25,7 +25,9 @@ fn main() -> Result<(), Box<dyn Error>> {
// Prepare to evaluate macros from the world file's directory
let world_pathbuf = PathBuf::from(&world_filename);
let world_dir = world_pathbuf.parent().ok_or(anyhow!("Couldn't get world's directory"))?;
let world_dir = world_pathbuf
.parent()
.ok_or(anyhow!("Couldn't get world's directory"))?;
let eval_context = Context::new(&world_dir);
println!("num boards: {}", &world.boards.len());