mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 00:24:03 +00:00
21 lines
228 B
Rust
21 lines
228 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() {}
|
|
}
|