Closed
Description
Rustfmt does this:
alt!(
map!(NospamKeys::from_bytes, Section::NospamKeys) |
map!(DhtState::from_bytes, Section::DhtState) |
map!(Friends::from_bytes, Section::Friends) |
map!(Name::from_bytes, Section::Name) |
map!(StatusMsg::from_bytes, Section::StatusMsg) |
map!(UserStatus::from_bytes, Section::UserStatus) |
map!(TcpRelays::from_bytes, Section::TcpRelays) |
map!(PathNodes::from_bytes, Section::PathNodes) |
map!(Eof::from_bytes, Section::Eof)
)
But it really should look like this:
alt!(
map!(NospamKeys::from_bytes, Section::NospamKeys) |
map!(DhtState::from_bytes, Section::DhtState) |
map!(Friends::from_bytes, Section::Friends) |
map!(Name::from_bytes, Section::Name) |
map!(StatusMsg::from_bytes, Section::StatusMsg) |
map!(UserStatus::from_bytes, Section::UserStatus) |
map!(TcpRelays::from_bytes, Section::TcpRelays) |
map!(PathNodes::from_bytes, Section::PathNodes) |
map!(Eof::from_bytes, Section::Eof)
)