Skip to content

Commit

Permalink
cmd/cgo: remove duplicate entry from gofmtLineReplacer
Browse files Browse the repository at this point in the history
CL 158457 added a duplicate entry for the ",\n" -> "," replacement to
gofmtLineReplacer. Remove the duplicate.

Change-Id: I17684fcd19cbc96fa7a7b53bf7c1a6382bf1114f
Reviewed-on: https://go-review.googlesource.com/c/158619
Run-TryBot: Tobias Klauser <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
tklauser committed Jan 21, 2019
1 parent e308807 commit 8e50e48
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cmd/cgo/godefs.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ var gofmtLineReplacer = strings.NewReplacer(
"<\n", "<",
">\n", ">",
"=\n", "=",
",\n", ",",
"\n", ";",
)

Expand Down

0 comments on commit 8e50e48

Please sign in to comment.