From 9a1b72b946c19d895ca32c66f50b65a1aebe86be Mon Sep 17 00:00:00 2001 From: Daan Hoogenboezem Date: Thu, 21 Mar 2024 11:03:40 +0100 Subject: [PATCH] Update methods-main-methods.md Squat typo in example. --- _overviews/scala3-book/methods-main-methods.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/scala3-book/methods-main-methods.md b/_overviews/scala3-book/methods-main-methods.md index b56fd5a2d9..797d7d04a4 100644 --- a/_overviews/scala3-book/methods-main-methods.md +++ b/_overviews/scala3-book/methods-main-methods.md @@ -100,7 +100,7 @@ use as a parameter. You would do this like you see below: enum Color: case Red, Green, Blue -given ComamndLineParser.FromString[Color] with +given CommandLineParser.FromString[Color] with def fromString(value: String): Color = Color.valueOf(value) @main def run(color: Color): Unit =