Skip to content

Commit

Permalink
Clarify type declaration language
Browse files Browse the repository at this point in the history
  • Loading branch information
urschrei committed Aug 11, 2016
1 parent 42001ed commit 2ed052d
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 @@ -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:

Expand Down

0 comments on commit 2ed052d

Please sign in to comment.