diff options
| author | Adolfo OchagavĂa <aochagavia92@gmail.com> | 2014-04-22 14:46:54 +0100 |
|---|---|---|
| committer | Adolfo OchagavĂa <aochagavia92@gmail.com> | 2014-04-22 14:46:54 +0100 |
| commit | f49572373347b4110e7140fafbcb57db112712bd (patch) | |
| tree | 0cdfbe27e5af0fd6604570c81a1e217459cfc4f3 /src/doc/tutorial.md | |
| parent | ef1b929b2f732f96d6f9357467cf7b45b85c5413 (diff) | |
| download | rust-f49572373347b4110e7140fafbcb57db112712bd.tar.gz rust-f49572373347b4110e7140fafbcb57db112712bd.zip | |
Fixed typo in tutorial
Replaced "len" by "length", to match the given code example.
Diffstat (limited to 'src/doc/tutorial.md')
| -rw-r--r-- | src/doc/tutorial.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md index 8edd135b0f8..179e67328da 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 |
