diff options
| author | Stephan Hügel <urschrei@gmail.com> | 2016-08-11 20:05:05 +0200 |
|---|---|---|
| committer | Stephan Hügel <urschrei@gmail.com> | 2016-08-11 20:05:05 +0200 |
| commit | 2ed052d82ffdeb57c479d78a00f680fb4fef9732 (patch) | |
| tree | c1df639bdde27e349a917b3f5f0aff774223c5fb | |
| parent | 42001edc998f3406ecc04afa48bf07ce91247b67 (diff) | |
| download | rust-2ed052d82ffdeb57c479d78a00f680fb4fef9732.tar.gz rust-2ed052d82ffdeb57c479d78a00f680fb4fef9732.zip | |
Clarify type declaration language
| -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 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: |
