chore: fix warnings

This commit is contained in:
🪞👃🪞 2025-04-25 21:07:50 +03:00
parent 222e10239b
commit aa7a2c72f5

View file

@ -72,7 +72,7 @@ where
get_item: move |item: A, index: usize|{ get_item: move |item: A, index: usize|{
// FIXME: multiply // FIXME: multiply
let mut push: E::Unit = E::Unit::from(0u16); let mut push: E::Unit = E::Unit::from(0u16);
for i in 0..index { for _ in 0..index {
push = push + size; push = push + size;
} }
Push::x(push, Align::w(Fixed::x(size, get_item(item, index)))) Push::x(push, Align::w(Fixed::x(size, get_item(item, index))))
@ -101,7 +101,7 @@ where
get_item: move |item: A, index: usize|{ get_item: move |item: A, index: usize|{
// FIXME: multiply // FIXME: multiply
let mut push: E::Unit = E::Unit::from(0u16); let mut push: E::Unit = E::Unit::from(0u16);
for i in 0..index { for _ in 0..index {
push = push + size; push = push + size;
} }
Push::y(push, Align::n(Fixed::y(size, get_item(item, index)))) Push::y(push, Align::n(Fixed::y(size, get_item(item, index))))