Skip to content

Commit

Permalink
auto merge of rust-lang#5775 : pavpanchekha/rust/patch-1, r=thestinger
Browse files Browse the repository at this point in the history
Change wrong field name in "Trait Inheritance" section.
  • Loading branch information
bors committed Apr 8, 2013
2 parents 2255587 + c6d6782 commit c929363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -2320,7 +2320,7 @@ impl Shape for CircleStruct {
Notice that methods of `Circle` can call methods on `Shape`, as our
`radius` implementation calls the `area` method.
This is a silly way to compute the radius of a circle
(since we could just return the `circle` field), but you get the idea.
(since we could just return the `radius` field), but you get the idea.

In type-parameterized functions,
methods of the supertrait may be called on values of subtrait-bound type parameters.
Expand Down

0 comments on commit c929363

Please sign in to comment.