Skip to content

Commit 8f6c2bf

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

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
@@ -285,7 +285,7 @@ inline def toInt(n: Nat) <: Int = inline n match {
285285
case Succ(n1) => toInt(n1) + 1
286286
}
287287

288-
val natTwo = toInt(Succ(Succ(Zero)))
288+
final val natTwo = toInt(Succ(Succ(Zero)))
289289
val intTwo: 2 = natTwo
290290
```
291291

0 commit comments

Comments
 (0)