Give variables a meaningful name

This commit is contained in:
clerie 2024-01-13 23:21:21 +01:00
parent 88e3f8c3be
commit f76b5f4f5e

View File

@ -42,10 +42,10 @@ fn shift_braille_one_col(b: u8) -> u8 {
} }
fn cpu_usages_to_braille(a: u32, b: u32) -> u8 { fn cpu_usages_to_braille(a: u32, b: u32) -> u8 {
let ab = cpu_usage_to_braille(a); let a_braille = cpu_usage_to_braille(a);
let bb = cpu_usage_to_braille(b); let b_braille = cpu_usage_to_braille(b);
ab + shift_braille_one_col(bb) a_braille + shift_braille_one_col(b_braille)
} }
impl CpuUsageBuffer { impl CpuUsageBuffer {