about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonathan Turner <jonathandturner@users.noreply.github.com>2016-08-17 06:25:23 -0700
committerGitHub <noreply@github.com>2016-08-17 06:25:23 -0700
commitb8859f6956e313ca4ecd624af3d3ea30a8d44037 (patch)
tree37ee02469a9d3da41cf4e17020864e7757e130ed
parentd3f55e1e86ab911be790325fef5b5881cdd6a195 (diff)
parent31da7f6f25946e2962df78920727d3d593346cee (diff)
downloadrust-b8859f6956e313ca4ecd624af3d3ea30a8d44037.tar.gz
rust-b8859f6956e313ca4ecd624af3d3ea30a8d44037.zip
Rollup merge of #35595 - urschrei:associated_types_docfix, r=steveklabnik
Clarify type declaration language in Associated Types docs

A small fix for the Associated Types docs

r? @steveklabnik
-rw-r--r--src/doc/book/associated-types.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/associated-types.md b/src/doc/book/associated-types.md
index cb54ac2419e..0998a88c4d2 100644
--- a/src/doc/book/associated-types.md
+++ b/src/doc/book/associated-types.md
@@ -67,7 +67,7 @@ trait Graph {
 Simple enough. Associated types use the `type` keyword, and go inside the body
 of the trait, with the functions.
 
-These `type` declarations can have all the same thing as functions do. For example,
+These type declarations work the same way as those for functions. For example,
 if we wanted our `N` type to implement `Display`, so we can print the nodes out,
 we could do this: