File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ pub fn multiplex_enum_name(msg: &Message, multiplexor: &Signal) -> Result<Ident>
3737 "{}{}Index" ,
3838 msg. name. to_pascal_case( ) ,
3939 multiplexor. name. to_pascal_case( ) ,
40- ) . ident ( ) )
40+ )
41+ . ident ( ) )
4142}
4243
4344pub fn multiplexed_enum_variant_name (
@@ -54,7 +55,8 @@ pub fn multiplexed_enum_variant_name(
5455 "{}{}M{switch_index}" ,
5556 msg. name. to_pascal_case( ) ,
5657 multiplexor. name. to_pascal_case( ) ,
57- ) . ident ( ) )
58+ )
59+ . ident ( ) )
5860}
5961
6062pub trait SignalExt {
@@ -66,7 +68,8 @@ pub trait SignalExt {
6668 format ! (
6769 "{prefix}{}{suffix}" ,
6870 sanitize_name( self . get_name( ) , ToSnakeCase :: to_snake_case)
69- ) . ident ( )
71+ )
72+ . ident ( )
7073 }
7174 fn const_name ( & self , suffix : & str ) -> Ident {
7275 let tmp: String ;
@@ -78,7 +81,8 @@ pub trait SignalExt {
7881 & tmp
7982 } ,
8083 ToShoutySnakeCase :: to_shouty_snake_case,
81- ) . ident ( )
84+ )
85+ . ident ( )
8286 }
8387}
8488
You can’t perform that action at this time.
0 commit comments