Skip to content

Commit

Permalink
runtime: improve docstring for Js.String.concat (#1033)
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro committed Jan 29, 2024
1 parent 794842d commit 66d2b28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jscomp/runtime/js_string.ml
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ external codePointAt : index:int -> int option = "codePointAt"

external concat : other:t -> t = "concat"
[@@mel.send.pipe: t]
(** [concat ~other original] returns a new string with [other] added after
[original].
(** [concat ~other:str2 str1] returns a new string with [str2] added after
[str1].
{[
concat ~other:"bell" "cow" = "cowbell";;
Expand Down

0 comments on commit 66d2b28

Please sign in to comment.