Give variables a meaningful name
This commit is contained in:
parent
88e3f8c3be
commit
f76b5f4f5e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user