Skip to content

Commit

Permalink
Rollup merge of #32618 - ProgVal:patch-1, r=steveklabnik
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
Manishearth committed Mar 30, 2016
2 parents cb5af89 + b1b3738 commit 458fae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/book/associated-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ declarations.
## Trait objects with associated types

There’s 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
# trait Graph {
Expand Down

0 comments on commit 458fae7

Please sign in to comment.