2017-11-13 19:47:02 -06:00
|
|
|
// rustfmt-brace_style: AlwaysNextLine
|
2017-04-30 16:49:39 -05:00
|
|
|
// 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]
|
2019-01-31 09:16:33 -06:00
|
|
|
fn it_works() {}
|
2017-07-20 23:55:34 -05:00
|
|
|
}
|