mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 11:46:42 +01:00
chore: fix warnings
This commit is contained in:
parent
222e10239b
commit
aa7a2c72f5
1 changed files with 2 additions and 2 deletions
|
|
@ -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))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue