From 4afc887ac2580493aaacb213abd3cd5426bf33c4 Mon Sep 17 00:00:00 2001 From: Noel Welsh Date: Thu, 9 May 2024 19:29:45 +0100 Subject: [PATCH] Fix typo --- book/src/pages/expanding-expressions/03-objects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/pages/expanding-expressions/03-objects.md b/book/src/pages/expanding-expressions/03-objects.md index 3c3c64c0..b1a741a5 100644 --- a/book/src/pages/expanding-expressions/03-objects.md +++ b/book/src/pages/expanding-expressions/03-objects.md @@ -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