From 0c067f0c85cf54a001566b8542a809a916776b86 Mon Sep 17 00:00:00 2001 From: ache Date: Sun, 16 Aug 2026 23:41:01 +0200 Subject: Legend is spelled in french xD --- src/print.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/print.rs') diff --git a/src/print.rs b/src/print.rs index fb9ee67..d171d7c 100644 --- a/src/print.rs +++ b/src/print.rs @@ -146,7 +146,7 @@ const CHARS_TABLE: [SymbolTableElement; 25] = [ ]; #[allow(clippy::unusual_byte_groupings)] -const TO_HIDE_LEGENDE_ELEMENTS: [u32; 26] = [ +const TO_HIDE_LEGEND_ELEMENTS: [u32; 26] = [ 0b000_000_000_000_0_000_000_000_000, 0b000_000_000_000_1_000_000_000_000, 0b000_000_001_000_0_000_100_000_000, @@ -185,7 +185,7 @@ pub fn print_status_line(target_str: &String, ip: &IpAddr) { println!("PING {} ({})", target_str, ip); } -pub fn print_legende_line() { +pub fn print_legend_line() { let nb_cols: u32 = if let Some((w, _)) = term_size::dimensions() { w as u32 } else { @@ -200,7 +200,7 @@ pub fn print_legende_line() { let nb_elements_to_skip = index; for (index, element) in CHARS_TABLE.iter().enumerate() { - if (TO_HIDE_LEGENDE_ELEMENTS[nb_elements_to_skip]) & (1 << index) != 0 { + if (TO_HIDE_LEGEND_ELEMENTS[nb_elements_to_skip]) & (1 << index) != 0 { continue; } print!( -- cgit v1.3-2-g11bf