-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Tracking issue for RFC 520: change fixed length array syntax #19999
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
B-RFC-approved
Blocker: Approved by a merged RFC but not yet implemented.
Comments
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Dec 21, 2014
This does NOT break any existing programs because the `[_, ..n]` syntax is also supported. Part of rust-lang#19999 r? @nikomatsakis
Merged
nrc
added a commit
to nrc/rust
that referenced
this issue
Jan 1, 2015
…constructors Closes rust-lang#19999 [breaking-change] Use [_; n] instead.
bors
added a commit
that referenced
this issue
Jan 2, 2015
muggenhor
added a commit
to muggenhor/rudoku
that referenced
this issue
Jan 4, 2015
Specifically conform to [RFC 520][1], delivered in rust-lang/rust@cd61416 as part of rust-lang/rust#19999. [1]: https://github.com/rust-lang/rfcs/blob/master/text/0520-new-array-repeat-syntax.md
jedisct1
pushed a commit
to jedisct1/sodiumoxide
that referenced
this issue
Oct 20, 2015
Change all instances of the [_, ..n] array syntax to the new [_; n] syntax. See rust-lang/rfcs#520 and rust-lang/rust#19999
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Change syntax for fixed length arrays to
[T; n]
and for repeating array initialisers to[expr; n]
wheren
is a constexpr with typeuint
.Nominated for 1.0, p-backcompat-lang.
The text was updated successfully, but these errors were encountered: