diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-03-27 13:54:49 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-03-27 13:54:49 -0700 |
| commit | 2142c5ebbb2d94addee281f7c66c02efabed7085 (patch) | |
| tree | 0fce1bb6ea7d0ae96ce122fa6b4b24b3b5757e34 | |
| parent | 55bfc5e4f9387c8b7e5f917ae389ab4fa7d5c12a (diff) | |
| download | rust-2142c5ebbb2d94addee281f7c66c02efabed7085.tar.gz rust-2142c5ebbb2d94addee281f7c66c02efabed7085.zip | |
Minor typo fixes.
| -rw-r--r-- | doc/rust.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/rust.md b/doc/rust.md index 224f4c099f6..b27befedd6b 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -1216,7 +1216,7 @@ instantiate type parameters that are bounded on their interface. ### Implementations An _implementation item_ provides an implementation of an -[interfaces](#interfaces) for a type. +[interface](#interfaces) for a type. ~~~~ # type point = {x: float, y: float}; @@ -2759,7 +2759,7 @@ vector is always bounds-checked. An *enumerated type* is a nominal, heterogeneous disjoint union type.^[The `enum` type is analogous to a `data` constructor declaration in ML or a *pick -ADT* in Limbo.} An [`enum` *item*](#enumerations) consists of a number of +ADT* in Limbo.] An [`enum` *item*](#enumerations) consists of a number of *constructors*, each of which is independently named and takes an optional tuple of arguments. |
