From fa4234ea2773fc0046075fe70252d810bfbba712 Mon Sep 17 00:00:00 2001 From: Windymelt Date: Wed, 31 Jan 2024 15:25:42 +0900 Subject: [PATCH] Removed trivial description for unnamed construction --- docs/extensible-records.md | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/docs/extensible-records.md b/docs/extensible-records.md index 7a268af..b7afa7f 100644 --- a/docs/extensible-records.md +++ b/docs/extensible-records.md @@ -26,18 +26,6 @@ val age = 3 %(name, age) ``` -We can also use class field for unnamed construction. - -```scala mdoc:mline -class Foo: - val name = "tarao" - val age = 3 - - val record = %(name, age) - -Foo().record -``` - Field Access ------------