Summary
I tried to format this code:
pub fn as_clap(&self) -> TransportEvent {
TransportEvent {
flags: TransportFlags::HAS_TEMPO
| TransportFlags::HAS_BEATS_TIMELINE
| TransportFlags::HAS_SECONDS_TIMELINE
| TransportFlags::HAS_TIME_SIGNATURE
| if self.playing {
TransportFlags::IS_PLAYING
} else {
TransportFlags::empty()
} | if self.loop_marker.is_some() {
TransportFlags::IS_LOOP_ACTIVE
} else {
TransportFlags::empty()
},
}
}
Expected behavior
consistent indentation across the expression
Actual behavior
see above ^^
Configuration
rustfmt configuration file (e.g. rustfmt.toml, if applicable):
This seems to be hard_tabs-reliant, disabling it produces saner output.
Meta
rustfmt --version:
Summary
I tried to format this code:
Expected behavior
consistent indentation across the expression
Actual behavior
see above ^^
Configuration
rustfmtconfiguration file (e.g.rustfmt.toml, if applicable):This seems to be
hard_tabs-reliant, disabling it produces saner output.Meta
rustfmt --version: