rust/tests/source/configs/brace_style/item_prefer_same_line.rs

17 lines
200 B
Rust

// rustfmt-brace_style: PreferSameLine
// Item brace style
struct Lorem {
ipsum: bool,
}
struct Dolor<T> where T: Eq {
sit: T,
}
#[cfg(test)]
mod tests {
#[test]
fn it_works() {}
}