Skip to content

Commit 7a46a8a

Browse files
authored
Merge pull request #17 from dtolnay/ret
Fix indentation of multiline return types
2 parents 9cc725a + 57e6d1a commit 7a46a8a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/item.rs

+2
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,9 @@ impl Printer {
737737
self.offset(-INDENT);
738738
self.end();
739739
self.word(")");
740+
self.cbox(-INDENT);
740741
self.return_type(&signature.output);
742+
self.end();
741743
}
742744

743745
fn receiver(&mut self, receiver: &Receiver) {

0 commit comments

Comments
 (0)