]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/tests/target/configs/brace_style/item_prefer_same_line.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / rustfmt / tests / target / 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>
9where
10 T: Eq, {
11 sit: T,
12}
13
14#[cfg(test)]
15mod tests {
16 #[test]
17 fn it_works() {}
18}