diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-03-31 05:04:59 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-03-31 05:04:59 +0530 |
| commit | 458fae709cc89d1add09303f2ae2dcac6d526e32 (patch) | |
| tree | 78d53ddcbba1bf4214951a5c9052da7e949838c1 | |
| parent | cb5af8901ab2f4af231936473774df9a859ef256 (diff) | |
| parent | b1b37384cd6cf45525962a4535188e944493ad9a (diff) | |
| download | rust-458fae709cc89d1add09303f2ae2dcac6d526e32.tar.gz rust-458fae709cc89d1add09303f2ae2dcac6d526e32.zip | |
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`.
| -rw-r--r-- | src/doc/book/associated-types.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/associated-types.md b/src/doc/book/associated-types.md index a0676a33996..cb54ac2419e 100644 --- a/src/doc/book/associated-types.md +++ b/src/doc/book/associated-types.md @@ -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 { |
