2017-04-30 16:49:39 -05:00
|
|
|
// rustfmt-item_brace_style: AlwaysNextLine
|
|
|
|
// Item brace style
|
|
|
|
|
2017-08-29 00:29:13 -05:00
|
|
|
enum Foo {}
|
|
|
|
|
|
|
|
struct Bar {}
|
|
|
|
|
2017-04-30 16:49:39 -05:00
|
|
|
struct Lorem
|
|
|
|
{
|
|
|
|
ipsum: bool,
|
|
|
|
}
|
|
|
|
|
|
|
|
struct Dolor<T>
|
2017-06-11 23:01:41 -05:00
|
|
|
where
|
|
|
|
T: Eq,
|
2017-04-30 16:49:39 -05:00
|
|
|
{
|
|
|
|
sit: T,
|
|
|
|
}
|
2017-07-20 23:55:34 -05:00
|
|
|
|
|
|
|
#[cfg(test)]
|
|
|
|
mod tests
|
|
|
|
{
|
|
|
|
#[test]
|
|
|
|
fn it_works() {}
|
|
|
|
}
|