From f17975f668411567479de9b3875010348f35a181 Mon Sep 17 00:00:00 2001 From: Andres Vahter Date: Fri, 16 Apr 2021 16:11:32 +0300 Subject: [PATCH] fix comment about enum_name conversion --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 20be011..8c94263 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -891,7 +891,7 @@ fn field_name(x: &str) -> String { } fn enum_name(msg: &Message, signal: &Signal) -> String { - // this turns signal `_4Drive` into `4Drive` + // this turns signal `_4DRIVE` into `4drive` let signal_name = signal .name() .trim_start_matches(|c: char| c.is_ascii_punctuation());