Skip to content

Commit

Permalink
docs: update record select syntax to '#'
Browse files Browse the repository at this point in the history
  • Loading branch information
jaschdoc committed Jun 23, 2024
1 parent 78aeb63 commit d1016da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/page/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def oneByOne(): {w = Int32, h = Int32} = {w = 1, h = 1}
def twoByFour(): {w = Int32, h = Int32} = {w = 2, h = 4}
def area(rect: {w = Int32, h = Int32 | r}): Int32 =
rect.w * rect.h
rect#w * rect#h
def f(): Int32 = area({h = 1, color = "Blue", w = 2})`}
</InlineEditor>
Expand Down

0 comments on commit d1016da

Please sign in to comment.