Skip to content

Commit e62a761

Browse files
committed
tut doesn't like fail or not fail
1 parent 70080cb commit e62a761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/tour/_posts/2017-02-13-annotations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def factorial(x: Int): Int = {
4040
}
4141
```
4242
The `factorialHelper` method has the `@tailrec` which ensures the method is indeed tail-recursive. If we were to change the implementation of `factorialHelper` to the following, it would fail:
43-
```tut:fail
43+
```
4444
import scala.annotation.tailrec
4545
4646
def factorial(x: Int): Int = {

0 commit comments

Comments
 (0)