From e15fb6ae278cfad638baca575dcce558b59b8492 Mon Sep 17 00:00:00 2001 From: Jared Burce Date: Fri, 26 Mar 2021 01:08:46 -0700 Subject: [PATCH] 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. --- src/bin/printmap.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/printmap.rs b/src/bin/printmap.rs index ed2a4fd..b233e0b 100644 --- a/src/bin/printmap.rs +++ b/src/bin/printmap.rs @@ -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) where T: Iterator> + 'a, U: Iterator + 'a