diff options
| author | Xmasreturns <Xmasreturns@users.noreply.github.com> | 2015-12-08 14:56:42 -0800 |
|---|---|---|
| committer | Xmasreturns <Xmasreturns@users.noreply.github.com> | 2015-12-08 14:56:42 -0800 |
| commit | 88c407c74f319fc9bdae0af77fcdd77d4a69e275 (patch) | |
| tree | da33144f410de3ca7545cf065ba2176f962666d9 | |
| parent | f5a4383b21d6be175f1965365b2040e60c02ab60 (diff) | |
| download | rust-88c407c74f319fc9bdae0af77fcdd77d4a69e275.tar.gz rust-88c407c74f319fc9bdae0af77fcdd77d4a69e275.zip | |
Update traits.md
| -rw-r--r-- | src/doc/book/traits.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/traits.md b/src/doc/book/traits.md index d8e6043498f..f9e3299f9e7 100644 --- a/src/doc/book/traits.md +++ b/src/doc/book/traits.md @@ -23,7 +23,7 @@ impl Circle { [methodsyntax]: method-syntax.html Traits are similar, except that we first define a trait with a method -signature, then implement the trait for a struct. Like this: +signature, then implement the trait for a type. In this example, we implement the trait `HasArea` for `Circle`: ```rust struct Circle { |
