mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 09:05:00 +00:00
17 lines
204 B
Rust
17 lines
204 B
Rust
// rustfmt-item_brace_style: SameLineWhere
|
|
// Item brace style
|
|
|
|
struct Lorem {
|
|
ipsum: bool,
|
|
}
|
|
|
|
struct Dolor<T> where T: Eq {
|
|
sit: T,
|
|
}
|
|
|
|
#[cfg(test)]
|
|
mod tests {
|
|
#[test]
|
|
fn it_works() {}
|
|
}
|