Skip to content

Commit 7dc581a

Browse files
Update docs/docs/reference/metaprogramming/inline.md
Co-Authored-By: Nicolas Stucki <[email protected]>
1 parent 75ee04c commit 7dc581a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/metaprogramming/inline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ inline def toIntC[N] <: Int =
309309
case _: S[n1] => 1 + toIntC[n1]
310310
}
311311

312-
val ctwo = toIntC[2]
312+
final val ctwo = toIntC[2]
313313
```
314314

315315
`constValueOpt` is the same as `constValue`, however returning an `Option[T]`

0 commit comments

Comments
 (0)