From f49572373347b4110e7140fafbcb57db112712bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20Ochagav=C3=ADa?= Date: Tue, 22 Apr 2014 14:46:54 +0100 Subject: [PATCH] Fixed typo in tutorial Replaced "len" by "length", to match the given code example. --- src/doc/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md index 8edd135b0f8c0..179e67328da82 100644 --- a/src/doc/tutorial.md +++ b/src/doc/tutorial.md @@ -2253,7 +2253,7 @@ defining one. The type parameters bound by a trait are in scope in each of the method declarations. So, re-declaring the type parameter -`T` as an explicit type parameter for `len`, in either the trait or +`T` as an explicit type parameter for `length`, in either the trait or the impl, would be a compile-time error. Within a trait definition, `Self` is a special type that you can think