]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/tests/source/configs/brace_style/item_prefer_same_line.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / rustfmt / tests / source / configs / brace_style / item_prefer_same_line.rs
CommitLineData
f20569fa
XL
1// rustfmt-brace_style: PreferSameLine
2// Item brace style
3
4struct Lorem {
5 ipsum: bool,
6}
7
8struct Dolor<T> where T: Eq {
9 sit: T,
10}
11
12#[cfg(test)]
13mod tests {
14 #[test]
15 fn it_works() {}
16}