Skip to content

Commit c6a6123

Browse files
author
Ben Hoyt
committed
Fix byte to string conversion in lib.go too
1 parent 67c7ed4 commit c6a6123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

converted/lib.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func Ord(x byte) byte {
1717
}
1818

1919
func Chr(x byte) string {
20-
return string(x)
20+
return string([]byte{x})
2121
}
2222

2323
func Length(s string) int16 {

0 commit comments

Comments
 (0)