use std::path::PathBuf;
use std::u32;
-use std::cmp;
use std::collections::{HashMap, HashSet};
// cargo watch -cs "cargo run --release --bin day_22"
if current.y+1 >= map_height {
map_height *= 2;
map = build_map(map_width, map_height, depth, target_x, target_y);
+ debug!(map_height);
}
if current.x+1 >= map_width {
map_width *= 2;
map = build_map(map_width, map_height, depth, target_x, target_y);
+ debug!(map_width);
}
for (adjacent, further) in current.adjacent(&map) {