diff --git a/docs/_docs/reference/other-new-features/indentation.md b/docs/_docs/reference/other-new-features/indentation.md index 299a01eb32e0..284eca93810a 100644 --- a/docs/_docs/reference/other-new-features/indentation.md +++ b/docs/_docs/reference/other-new-features/indentation.md @@ -491,7 +491,7 @@ xs.map: x => ``` and the following would also be legal: ```scala -xs.foldLeft: (x, y) => +xs.foldLeft(0): (x, y) => x + y ```