Squelch warning about intersperse() entering stdlib.

Presumably we'll want to switch to it when it standardizes, so we want
the build to break when it's time to move over.
This commit is contained in:
2021-03-26 01:08:46 -07:00
parent 4b5d85352a
commit e15fb6ae27

View File

@@ -40,6 +40,7 @@ fn main() {
print_rows(world.map().rows());
}
#[allow(unstable_name_collisions)]
fn print_rows<'a, T: ?Sized, U: ?Sized>(rows: Box<T>)
where T: Iterator<Item = Box<U>> + 'a,
U: Iterator<Item = &'a tile::Tile> + 'a