update toolchain to nightly-2021-12-19

This commit is contained in:
Imbris
2021-12-21 15:19:23 -05:00
committed by Marcel Märtens
parent 119c802695
commit bf48bd5346
71 changed files with 234 additions and 118 deletions

View File

@ -248,8 +248,7 @@ impl Route {
})
.unwrap_or_else(|| {
(0..2)
.map(|i| (0..2).map(move |j| Vec2::new(i, j)))
.flatten()
.flat_map(|i| (0..2).map(move |j| Vec2::new(i, j)))
.map(|rpos| block_pos + rpos)
.map(|block_pos| {
let block_posf = block_pos.xy().map(|e| e as f32);