Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _tour/unified-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down