Skip to content

Commit 19ed3e6

Browse files
committed
Minor correction in indentation documentation
1 parent d6e3d12 commit 19ed3e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_docs/reference/other-new-features/indentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ xs.map: x =>
491491
```
492492
and the following would also be legal:
493493
```scala
494-
xs.foldLeft: (x, y) =>
494+
xs.foldLeft(0): (x, y) =>
495495
x + y
496496
```
497497

0 commit comments

Comments
 (0)