Skip to content

Commit baa4453

Browse files
committed
apply PR suggestion
1 parent 04896fd commit baa4453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/tour/_posts/2017-02-13-traits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ iterator.next() // prints 1
6060
This `IntIterator` class takes a parameter `to` as an upper bound. It `extends Iterator[Int]` which means that the `next` method must return an Int.
6161

6262
## Subtyping
63-
Subtypes of traits can be used where a trait is required.
63+
Where a given trait is required, a subtype of the trait can be used instead.
6464
```tut
6565
import scala.collection.mutable.ArrayBuffer
6666

0 commit comments

Comments
 (0)