We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 786e9e0 commit da34a5aCopy full SHA for da34a5a
library/src/scala/annotation/init.scala
@@ -12,7 +12,7 @@ object init:
12
* It can be used to mark method or constructor arguments, as the following example shows:
13
*
14
* class A(x: Int):
15
- * def squre(): Int = x*x
+ * def square(): Int = x*x
16
17
* object B:
18
* val a = build(new A(10): @init.expose) // <-- usage
0 commit comments