Skip to content

Commit da34a5a

Browse files
liufengyunolhotak
andauthored
Fix typo
Co-authored-by: Ondřej Lhoták <[email protected]>
1 parent 786e9e0 commit da34a5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/annotation/init.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ object init:
1212
* It can be used to mark method or constructor arguments, as the following example shows:
1313
*
1414
* class A(x: Int):
15-
* def squre(): Int = x*x
15+
* def square(): Int = x*x
1616
*
1717
* object B:
1818
* val a = build(new A(10): @init.expose) // <-- usage

0 commit comments

Comments
 (0)