Skip to content

Commit

Permalink
fix comment about enum_name conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
andresv committed Apr 16, 2021
1 parent 7af866d commit f17975f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit f17975f

Please sign in to comment.