fix rustfmt linting
@@ -251,7 +251,8 @@ impl FromRaw for ConfigTx {
Ok(ConfigTx::ConfigPropose(TxConfigPropose::from_raw(raw)?))
}
CONFIG_VOTE_MESSAGE_ID => Ok(ConfigTx::ConfigVote(TxConfigVote::from_raw(raw)?)),
- _ => Err(StreamStructError::IncorrectMessageType {
+ _ => {
+ Err(StreamStructError::IncorrectMessageType {
position: 2,
actual_message_type: raw.message_type(),
declared_message_type: CONFIG_PROPOSE_MESSAGE_ID,
@@ -259,6 +260,7 @@ impl FromRaw for ConfigTx {
}
}
}
+}
impl Message for ConfigTx {
fn raw(&self) -> &RawMessage {
