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> where T: Eq {
|
|
|
|
sit: T,
|
|
|
|
}
|
2017-07-20 23:55:34 -05:00
|
|
|
|
|
|
|
#[cfg(test)]
|
|
|
|
mod tests {
|
|
|
|
#[test]
|
|
|
|
fn it_works() {}
|
|
|
|
}
|