From 2ed052d82ffdeb57c479d78a00f680fb4fef9732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20H=C3=BCgel?= Date: Thu, 11 Aug 2016 20:05:05 +0200 Subject: [PATCH] Clarify type declaration language --- src/doc/book/associated-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/book/associated-types.md b/src/doc/book/associated-types.md index cb54ac2419e..d64a4beacdd 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 in the same way as those for functions do. For example, if we wanted our `N` type to implement `Display`, so we can print the nodes out, we could do this: