Skip to content

Commit f336afd

Browse files
committed
auto merge of #5648 : luqmana/rust/incoming, r=thestinger
Fix typo and add fixed length vec changes.
2 parents fb5f020 + 4c58903 commit f336afd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

RELEASES.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Version 0.6 (April 2013)
3030
`@mut T`, `core::mut` or `core::cell`
3131
* `extern mod { ... }` is no longer valid syntax for foreign
3232
function modules. Use extern blocks: `extern { ... }`
33-
* Newtype enums removed. Used tuple-structs.
33+
* Newtype enums removed. Use tuple-structs.
3434
* Trait implementations no longer support visibility modifiers
3535
* Pattern matching over vectors improved and expanded
3636
* `const` renamed to `static` to correspond to lifetime name,
@@ -40,6 +40,10 @@ Version 0.6 (April 2013)
4040
`#[deriving(Clone)]`
4141
* Casts to traits must use a pointer sigil, e.g. `@foo as @Bar`
4242
instead of `foo as Bar`.
43+
* Fixed length vector types are now written as `[int, .. 3]`
44+
instead of `[int * 3]`.
45+
* Fixed length vector types can express the length as a constant
46+
expression. (ex: `[int, .. GL_BUFFER_SIZE - 2]`)
4347

4448
* Semantic changes
4549
* Types with owned pointers or custom destructors move by default,

0 commit comments

Comments
 (0)