Skip to content

Commit

Permalink
Update traits.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Xmasreturns committed Dec 8, 2015
1 parent f5a4383 commit 88c407c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/book/traits.md
Expand Up @@ -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 {
Expand Down

0 comments on commit 88c407c

Please sign in to comment.