From c6d67829064d9080b8561af0545bbeb1f1d3889f Mon Sep 17 00:00:00 2001 From: Pavel Panchekha Date: Sun, 7 Apr 2013 23:19:31 -0300 Subject: [PATCH] Fixed typo Change wrong field name in "Trait Inheritance" section. --- doc/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorial.md b/doc/tutorial.md index 42b0d5a585a..3313c432e1d 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -2288,7 +2288,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.