Fix typo in ch17-02-trait-objects.md

Corrected duplicated "the" typo
This commit is contained in:
javinovo
2018-02-01 09:17:34 +01:00
committed by GitHub
parent 14be4d9093
commit ccdd9ca7aa

View File

@@ -167,7 +167,7 @@ type `Button` or all of type `TextField`. If youll only ever have homogeneous
collections, using generics and trait bounds is preferable since the
definitions will be monomorphized at compile time to use the concrete types.
With the the method using trait objects, on the other hand, one `Screen`
With the method using trait objects, on the other hand, one `Screen`
instance can hold a `Vec` that contains a `Box<Button>` as well as a
`Box<TextField>`. Lets see how that works, and then talk about the runtime
performance implications.