Skip to content

Commit f7a5894

Browse files
committed
removed unnecessary fields
1 parent c09726b commit f7a5894

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

format_print.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2779,12 +2779,12 @@ func (u UnaryOperatorComments) printSource(w writer, v bool) {
27792779
u.Comments.printSource(w, true, false)
27802780
}
27812781

2782-
uo := u.UnaryOperator.String()
2782+
uo := u.String()
27832783
if uo == "" || uo == unknown {
27842784
return
27852785
}
27862786

2787-
w.WriteStringWithType(uo, u.UnaryOperator.tokenType())
2787+
w.WriteStringWithType(uo, u.tokenType())
27882788

27892789
if len(uo) > 1 {
27902790
w.WriteString(" ")

0 commit comments

Comments
 (0)