aboutsummaryrefslogtreecommitdiff
path: root/src/print.rs
diff options
context:
space:
mode:
authorache <ache@ache.one>2026-08-07 09:12:07 +0200
committerache <ache@ache.one>2026-08-07 09:12:07 +0200
commitb74b64515dcc5111b3ee6e2064f426459ac7ce1b (patch)
treea995512420b18df605c4023f64b5462dd7400f4a /src/print.rs
parentRemove ttl and add main loop (diff)
Remove not necessary temp variable
Diffstat (limited to 'src/print.rs')
-rw-r--r--src/print.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/print.rs b/src/print.rs
index 037e690..2717a1c 100644
--- a/src/print.rs
+++ b/src/print.rs
@@ -148,10 +148,9 @@ const CHARS_TABLE: [SymbolTableElement; 25] = [
pub fn print_legende_line() {
for (index, element) in CHARS_TABLE.iter().enumerate() {
- let val = 10 * index as u64;
print!(
"{} {}{}{}\x1b[0m ",
- val, element.fg, element.bg, element.character
+ 10 * index, element.fg, element.bg, element.character
);
}
println!("{}", ERASE_LINE_END);