rust/tests/target/chains-indent-inherit.rs

11 lines
198 B
Rust
Raw Normal View History

2015-11-14 17:47:59 +01:00
// rustfmt-chain_indent: Inherit
fn test() {
let x = my_long_function()
.my_even_longer_function()
.my_nested_function()
.some_random_name()
.another_function()
.do_it();
}