Skip to content

Commit

Permalink
Update docs/extensible-records.md
Browse files Browse the repository at this point in the history
Co-authored-by: INA Lintaro <[email protected]>
  • Loading branch information
windymelt and tarao authored Jan 31, 2024
1 parent da50e51 commit 18e8ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/extensible-records.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Then use `%` as a constructor to instantiate a record.
val person = %(name = "tarao", age = 3)
```

In addition, you can omit field name when field name is same as variable name.
In addition, you can omit field names when they are the same as variable names.

```scala mdoc:mline
val name = "tarao"
Expand Down

0 comments on commit 18e8ecf

Please sign in to comment.