Skip to content

Commit d5492ea

Browse files
authored
Fix Buffer.toString function
This was an accidental copy paste when originally submitted. The resulting output was `Buffer.fromString(...).Buffer.toString()`
1 parent 27a378a commit d5492ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jscomp/others/node_buffer.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ external fromStringWithEncoding : string -> ([ `ascii | `utf8 | `utf16le | `u
3636
[@@bs.val] [@@bs.scope "Buffer"]
3737

3838
external toString : t -> string = ""
39-
[@@bs.send] [@@bs.scope "Buffer"]
39+
[@@bs.send]

0 commit comments

Comments
 (0)