Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
noelwelsh committed May 9, 2024
1 parent f1f6905 commit 4afc887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/pages/expanding-expressions/03-objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ where

We have said that all values are objects, and we call methods with the syntax `object.methodName(parameter)`. How then do we explain expressions like `1 + 2`?

In Scala, and expression written `a.b(c)` can be written `a b c`. So these are equivalent:
In Scala, any expression written `a.b(c)` can be written `a b c`. So these are equivalent:

```scala mdoc
1 + 2
Expand Down

0 comments on commit 4afc887

Please sign in to comment.