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

Fixes 

* 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");
}
}
}