diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2015-01-01 17:40:24 +1300 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2015-01-02 10:28:19 +1300 |
| commit | 2c92ddeda7e2a8e9b6d6b629818eacdb96787575 (patch) | |
| tree | 9543983dc912f84eb6c12a1db4531c17c280388e /src/doc | |
| parent | 13392d19cae2b03883d531a47d660b985b98833b (diff) | |
More fallout
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/guide.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md index 289587b9ded..f4ec787a794 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -1617,7 +1617,7 @@ value. In this example, each element of `a` will be initialized to `0i`: let a = [0i; 20]; // a: [int; 20] ``` -Arrays have type `[T,..N]`. We'll talk about this `T` notation later, when we +Arrays have type `[T; N]`. We'll talk about this `T` notation later, when we cover generics. You can get the number of elements in an array `a` with `a.len()`, and use |
