Move equal sign back into head ibox
This commit is contained in:
parent
b7df49895c
commit
b62163515a
3 changed files with 5 additions and 5 deletions
|
@ -1116,9 +1116,11 @@ impl<'a> State<'a> {
|
|||
self.print_ident(ident);
|
||||
self.word_space(":");
|
||||
self.print_type(ty);
|
||||
if body.is_some() {
|
||||
self.space();
|
||||
}
|
||||
self.end(); // end the head-ibox
|
||||
if let Some(body) = body {
|
||||
self.space();
|
||||
self.word_space("=");
|
||||
self.print_expr(body);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue