rust/tests/source/configs/brace_style/item_always_next_line.rs

21 lines
228 B
Rust
Raw Normal View History

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