Skip to content

Commit 6f84c1e

Browse files
authored
Merge pull request #15335 from rjolly/main
Minor correction in indentation documentation
2 parents 267a7e4 + 19ed3e6 commit 6f84c1e

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)