minor improvements

This commit is contained in:
GyulyVGC
2025-08-14 22:45:51 +02:00
parent 6bcd91767e
commit ffc9413473
3 changed files with 1 additions and 4 deletions

View File

@@ -141,7 +141,7 @@ pub fn from_char(ch: char) -> Self {
}
}
pub fn pretty_print(self, repr: DataRepr) -> String {
fn pretty_print(self, repr: DataRepr) -> String {
match repr {
DataRepr::Packets => String::new(),
DataRepr::Bytes => format!("{}B", self.get_char()),

View File

@@ -674,7 +674,6 @@ pub fn showing_results_translation(
}
}
#[allow(dead_code)]
pub fn color_gradients_translation(language: Language) -> &'static str {
match language {
Language::EN => "Apply color gradients",

View File

@@ -146,7 +146,6 @@ pub fn data_exceeded_translation(language: Language) -> &'static str {
}
}
#[allow(dead_code)]
pub fn bits_exceeded_translation(language: Language) -> &'static str {
match language {
Language::EN => "Bits threshold exceeded",
@@ -161,7 +160,6 @@ pub fn bits_exceeded_translation(language: Language) -> &'static str {
}
}
#[allow(dead_code)]
pub fn bits_translation(language: Language) -> &'static str {
match language {
Language::EN | Language::IT | Language::NL | Language::DE | Language::FR => "bits",