Skip to content

Commit 82d8be6

Browse files
Update bench-run/src/main/scala/dotty/tools/benchmarks/specialization/Functions.scala
Co-authored-by: Nicolas Stucki <[email protected]>
1 parent ad4946d commit 82d8be6

File tree

1 file changed

+1
-1
lines changed
  • bench-run/src/main/scala/dotty/tools/benchmarks/specialization

1 file changed

+1
-1
lines changed

bench-run/src/main/scala/dotty/tools/benchmarks/specialization/Functions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import scala.util.Random
55

66
class Functions {
77
extension (x: Int)
8-
inline def times(op: => Unit): Unit = {
8+
inline def times(inline op: Unit): Unit = {
99
var count = 0
1010
while count < x do
1111
op

0 commit comments

Comments
 (0)