rust/tests/target/configs/brace_style/item_always_next_line.rs
topecongiro 0142e961ad Prioritize single_line_fn and empty_item_single_line over brace_style
When either one of these two options are set to `true`, each should take
precedence over the brace_style option.

This commit does not introduce any formatting change to the default
configuration, so no version gate is required.
2019-02-01 00:22:47 +09:00

26 lines
233 B
Rust

// rustfmt-brace_style: AlwaysNextLine
// Item brace style
enum Foo {}
struct Bar {}
struct Lorem
{
ipsum: bool,
}
struct Dolor<T>
where
T: Eq,
{
sit: T,
}
#[cfg(test)]
mod tests
{
#[test]
fn it_works() {}
}