From 34b398662243ec7242a390d41c283989d7c429e9 Mon Sep 17 00:00:00 2001 From: MikeG112 <58539344+MikeG112@users.noreply.github.com> Date: Wed, 3 Mar 2021 19:30:02 -0500 Subject: [PATCH] Modify explanation of example --- _tour/unified-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_tour/unified-types.md b/_tour/unified-types.md index 5d4fe4947c..2bae3732db 100644 --- a/_tour/unified-types.md +++ b/_tour/unified-types.md @@ -23,7 +23,7 @@ In Scala, all values have a type, including numerical values and functions. The `AnyRef` represents reference types. All non-value types are defined as reference types. Every user-defined type in Scala is a subtype of `AnyRef`. If Scala is used in the context of a Java runtime environment, `AnyRef` corresponds to `java.lang.Object`. -Here is an example that demonstrates that strings, integers, characters, boolean values, and functions are all objects just like every other object: +Here is an example that demonstrates that strings, integers, characters, boolean values, and functions are all of type `Any` just like every other object: ```scala mdoc val list: List[Any] = List(