Skip to content

Commit e6d816a

Browse files
committed
.
1 parent 3ece9cb commit e6d816a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/unroll-default-arguments.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ def foo(s: String, n: Int) = foo(s, n, true, 0)
3131

3232
In contrast to most existing or proposed alternatives that require you to contort your
3333
code to become binary compatible (see [Major Alternatives](#major-alternatives)),
34-
`@unroll` allows you to write Scala in the most straightforward way. You add
35-
a single annotation, and your `def`/`class`/`case class` will maintain binary
36-
compatibility as new default parameters and fields are added over time.
34+
`@unroll` allows you to write Scala with vanilla `def`s/`class`es/`case class`es, add
35+
a single annotation, and your code will maintain binary compatibility as new default
36+
parameters and fields are added over time.
3737

3838
`@unroll`'s only constraints are that:
3939

0 commit comments

Comments
 (0)