Rollup merge of #32618 - ProgVal:patch-1, r=steveklabnik

Book: Fix phrasing: “an associated type” → “an object with an associated type”.

From what I understood, `graph` is the object from which we create a trait object, and the associated types are `Graph::N` and `Graph::E`.
This commit is contained in:
Manish Goregaokar 2016-03-31 05:04:59 +05:30
commit 458fae709c

View File

@ -131,7 +131,7 @@ declarations.
## Trait objects with associated types ## Trait objects with associated types
Theres one more bit of syntax we should talk about: trait objects. If you Theres one more bit of syntax we should talk about: trait objects. If you
try to create a trait object from an associated type, like this: try to create a trait object from a trait with an associated type, like this:
```rust,ignore ```rust,ignore
# trait Graph { # trait Graph {