diff --git a/r2r_msg_gen/src/lib.rs b/r2r_msg_gen/src/lib.rs index 80ca0d4..6fe395a 100644 --- a/r2r_msg_gen/src/lib.rs +++ b/r2r_msg_gen/src/lib.rs @@ -518,10 +518,7 @@ impl WrappedNativeMsgUntyped { ); let close = String::from( " - else - { - return Err(Error::InvalidMessageType{ msgtype: typename.into() }) - } + return Err(Error::InvalidMessageType{ msgtype: typename.into() }) } } ", @@ -560,10 +557,7 @@ impl UntypedServiceSupport { ); let close = String::from( " - else - { - return Err(Error::InvalidMessageType{ msgtype: typename.into() }) - } + return Err(Error::InvalidMessageType{ msgtype: typename.into() }) } } ", @@ -601,10 +595,7 @@ impl UntypedActionSupport { ); let close = String::from( " - else - { - return Err(Error::InvalidMessageType{ msgtype: typename.into() }) - } + return Err(Error::InvalidMessageType{ msgtype: typename.into() }) } } ",