rust/tests/target/indented-impl.rs
Luke Clifton 6bf1382927 Indent open brace for impl when nested. (#1227)
* Indent open brace for impl when nested.

Fixes #1226

* Added test case for indented impl with brace on newline
2016-11-28 13:47:07 +13:00

12 lines
167 B
Rust

// rustfmt-item_brace_style: AlwaysNextLine
mod x {
struct X(i8);
impl Y for X
{
fn y(self) -> () {
println!("ok");
}
}
}