Skip to content

Commit a4f0083

Browse files
peczenyjZerpet
authored andcommittedJun 6, 2024
simplify readTable by using WriteString instead Write and convert string to []bytes explicitely
1 parent 8a7e75c commit a4f0083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎read.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ func readTable(r io.Reader) (table Table, err error) {
269269
return
270270
}
271271

272-
nested.Write([]byte(str))
272+
nested.WriteString(str)
273273

274274
table = make(Table)
275275

0 commit comments

Comments
 (0)
Please sign in to comment.