summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/configs/brace_style/item_same_line_where.rs
blob: 8a3b2852654795dfc2d3e704545ab1f641cd25ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// rustfmt-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() {}
}