Skip to content

Commit

Permalink
Merge pull request #17 from dtolnay/ret
Browse files Browse the repository at this point in the history
Fix indentation of multiline return types
  • Loading branch information
dtolnay authored May 26, 2022
2 parents 9cc725a + 57e6d1a commit 7a46a8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,9 @@ impl Printer {
self.offset(-INDENT);
self.end();
self.word(")");
self.cbox(-INDENT);
self.return_type(&signature.output);
self.end();
}

fn receiver(&mut self, receiver: &Receiver) {
Expand Down

0 comments on commit 7a46a8a

Please sign in to comment.