We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5a4383 commit 88c407cCopy full SHA for 88c407c
src/doc/book/traits.md
@@ -23,7 +23,7 @@ impl Circle {
23
[methodsyntax]: method-syntax.html
24
25
Traits are similar, except that we first define a trait with a method
26
-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`:
27
28
```rust
29
struct Circle {
0 commit comments