Skip to content

Commit 2ed052d

Browse files
committed
Clarify type declaration language
1 parent 42001ed commit 2ed052d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/associated-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ trait Graph {
6767
Simple enough. Associated types use the `type` keyword, and go inside the body
6868
of the trait, with the functions.
6969

70-
These `type` declarations can have all the same thing as functions do. For example,
70+
These `type` declarations work in the same way as those for functions do. For example,
7171
if we wanted our `N` type to implement `Display`, so we can print the nodes out,
7272
we could do this:
7373

0 commit comments

Comments
 (0)