Skip to content

Commit f112273

Browse files
Typo fix in the documentation
1 parent af9b5cb commit f112273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/changed-features/structural-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ the database access example given at the beginning of this document.
128128
Local and anonymous classes that extend `Selectable` get more refined types
129129
than other classes. Here is an example:
130130
```scala
131-
class Vehicle extends reflect.Selectable {
131+
trait Vehicle extends reflect.Selectable {
132132
val wheels: Int
133133
}
134134
val i3 = new Vehicle { // i3: Vehicle { val range: Int }

0 commit comments

Comments
 (0)