diff options
| author | Valentin Lorentz <progval+git@progval.net> | 2016-03-30 19:34:53 +0200 |
|---|---|---|
| committer | Valentin Lorentz <progval+git@progval.net> | 2016-03-30 19:34:53 +0200 |
| commit | b1b37384cd6cf45525962a4535188e944493ad9a (patch) | |
| tree | 71c1513ad38bcf823bf5c132ffae23f5415562e7 | |
| parent | 70b8b9487a94c5b9b1401007b040c584d9349582 (diff) | |
| download | rust-b1b37384cd6cf45525962a4535188e944493ad9a.tar.gz rust-b1b37384cd6cf45525962a4535188e944493ad9a.zip | |
Book: Fix phrasing: “an associated type” → “a trait with an associated type”.
| -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 { |
