From 9ab17e7cf6377259b1fe7914edf1148e0cf1e425 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Tue, 3 Jan 2023 20:57:16 +0000 Subject: [PATCH] Remove missed .into_iter --- examples/hyperspace-roll/src/battle/display.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/hyperspace-roll/src/battle/display.rs b/examples/hyperspace-roll/src/battle/display.rs index ec6f6ddc..1b33009f 100644 --- a/examples/hyperspace-roll/src/battle/display.rs +++ b/examples/hyperspace-roll/src/battle/display.rs @@ -145,7 +145,6 @@ impl<'a> BattleScreenDisplay<'a> { ); let enemy_attack_display = (0..2) - .into_iter() .map(|i| { let mut attack_obj = obj.object( obj.sprite(ENEMY_ATTACK_SPRITES.sprite_for_attack(EnemyAttackType::Attack)),