about summary refs log tree commit diff
diff options
context:
space:
mode:
authorXmasreturns <Xmasreturns@users.noreply.github.com>2015-12-08 14:56:42 -0800
committerXmasreturns <Xmasreturns@users.noreply.github.com>2015-12-08 14:56:42 -0800
commit88c407c74f319fc9bdae0af77fcdd77d4a69e275 (patch)
treeda33144f410de3ca7545cf065ba2176f962666d9
parentf5a4383b21d6be175f1965365b2040e60c02ab60 (diff)
downloadrust-88c407c74f319fc9bdae0af77fcdd77d4a69e275.tar.gz
rust-88c407c74f319fc9bdae0af77fcdd77d4a69e275.zip
Update traits.md
-rw-r--r--src/doc/book/traits.md2
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 {