From b4d39d06d7502f1b5cc04413e95acc1ca5a26350 Mon Sep 17 00:00:00 2001 From: Fengyun Liu Date: Mon, 22 May 2023 07:26:11 +0200 Subject: [PATCH] Fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ondřej Lhoták --- library/src/scala/annotation/init.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/scala/annotation/init.scala b/library/src/scala/annotation/init.scala index 9535dd052f8e..a1ff37b78e32 100644 --- a/library/src/scala/annotation/init.scala +++ b/library/src/scala/annotation/init.scala @@ -12,7 +12,7 @@ object init: * It can be used to mark method or constructor arguments, as the following example shows: * * class A(x: Int): - * def squre(): Int = x*x + * def square(): Int = x*x * * object B: * val a = build(new A(10): @init.expose) // <-- usage