blob: 7ae45e60773c5e8860d131b7eae42e44908eeb27 [file]
//@ rustfmt-chain_width: 20
struct Fluent {}
impl Fluent {
fn blorp(&self) -> &Self {
self
}
}
fn main() {
let test = Fluent {};
// should not be wrapped
test.blorp();
test.blorp().blorp();
// should be wrapped
test.blorp().blorp().blorp();
test.blorp().blorp().blorp().blorp();
}