Skip to content

Commit feff51f

Browse files
fix tut
1 parent 3226d12 commit feff51f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

_tour/multiple-parameter-lists.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ println(res) // 55
3636

3737
Suggested use cases for multiple parameter lists include:
3838

39-
#### Drive type inferrence
39+
#### Drive type inference
4040

4141
Say, you have the following method:
4242

@@ -47,7 +47,6 @@ def foldleft1[A, B](as: List[A], b0: B, op: (B, A) => B) = ???
4747
Then you'd like to call it in the following way, but will find that it doesn't compile:
4848

4949
```tut:fail
50-
val numbers = List(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
5150
def notpossible = foldleft1(numbers, 0, _ + _)
5251
```
5352

0 commit comments

Comments
 (0)