Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: Ondřej Lhoták <olhotak@uwaterloo.ca>
  • Loading branch information
liufengyun and olhotak committed May 22, 2023
1 parent b1bb29f commit b4d39d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/scala/annotation/init.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b4d39d0

Please sign in to comment.