ref(examples): avoid unnecessary casts
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 43s

This commit is contained in:
2025-02-21 15:15:15 +01:00
parent 8cc047c1fa
commit 44e92735cf
8 changed files with 19 additions and 47 deletions

View File

@@ -54,8 +54,8 @@ pub const InputField = struct {
if (this.input.items.len == 0) return;
const row: u16 = 1;
const col: u16 = 1;
const row = 1;
const col = 1;
const anchor = (row * size.cols) + col;
for (this.input.items, 0..) |cp, idx| {