26 lines
238 B
Rust
26 lines
238 B
Rust
// rustfmt-item_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() {}
|
|
}
|