From aa7a2c72f5230b576d1ed95836042ec8519c8f0a Mon Sep 17 00:00:00 2001 From: unspeaker Date: Fri, 25 Apr 2025 21:07:50 +0300 Subject: [PATCH] chore: fix warnings --- output/src/ops/map.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/output/src/ops/map.rs b/output/src/ops/map.rs index 5dbc92b..285bd20 100644 --- a/output/src/ops/map.rs +++ b/output/src/ops/map.rs @@ -72,7 +72,7 @@ where get_item: move |item: A, index: usize|{ // FIXME: multiply let mut push: E::Unit = E::Unit::from(0u16); - for i in 0..index { + for _ in 0..index { push = push + size; } Push::x(push, Align::w(Fixed::x(size, get_item(item, index)))) @@ -101,7 +101,7 @@ where get_item: move |item: A, index: usize|{ // FIXME: multiply let mut push: E::Unit = E::Unit::from(0u16); - for i in 0..index { + for _ in 0..index { push = push + size; } Push::y(push, Align::n(Fixed::y(size, get_item(item, index))))