From f76b5f4f5ea77842c247acdc456356fea4cbd874 Mon Sep 17 00:00:00 2001 From: clerie Date: Sat, 13 Jan 2024 23:21:21 +0100 Subject: [PATCH] Give variables a meaningful name --- src/cpuusagebuffer.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cpuusagebuffer.rs b/src/cpuusagebuffer.rs index 0b73f36..aea58b3 100644 --- a/src/cpuusagebuffer.rs +++ b/src/cpuusagebuffer.rs @@ -42,10 +42,10 @@ fn shift_braille_one_col(b: u8) -> u8 { } fn cpu_usages_to_braille(a: u32, b: u32) -> u8 { - let ab = cpu_usage_to_braille(a); - let bb = cpu_usage_to_braille(b); + let a_braille = cpu_usage_to_braille(a); + let b_braille = cpu_usage_to_braille(b); - ab + shift_braille_one_col(bb) + a_braille + shift_braille_one_col(b_braille) } impl CpuUsageBuffer {