Skip to content

Commit 9a5c948

Browse files
authored
[ReScript/en] Fix comment on labeled arguments usage (#5446)
Corrected comment typo to clarify the use of labeled arguments.
1 parent 4789247 commit 9a5c948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ moveTo(~x=7.0, ~y=3.5)
292292
let getMessage = (~message as msg) => "==" ++ msg ++ "=="
293293

294294
getMessage(~message="You have a message!")
295-
/* - The caller specifies ~message but internally the function can make use */
295+
/* - The caller specifies ~message but internally the function can make use of msg */
296296

297297
/* The following function also has explicit types declared */
298298
let showDialog = (~message: string): unit => {

0 commit comments

Comments
 (0)