Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTracking issue for `drain` stabilization #27711
Comments
aturon
added
T-libs
B-unstable
labels
Aug 12, 2015
This comment has been minimized.
This comment has been minimized.
|
Current opinion: stabilize Vec and HashMap with Vec using an unstable trait -- most just want to be able to call VecDeque is using the V1 API still (@mystor was working on this) BTree needs serious work in relation to the range API LinkedList is very "whatever" for me. |
This comment has been minimized.
This comment has been minimized.
|
My draft is https://gist.github.com/bluss/9b0f84fbb477de87d9d8 I'm just looking for comments before I post it. @Gankro It sounds like you favour a collections trait solution for this. It's a good solution for multidispatch reasons, but apart from that, I don't really have a guiding star for when we do collections traits (like Extend) and when we don't. |
This comment has been minimized.
This comment has been minimized.
|
This issue also tracks |
This comment has been minimized.
This comment has been minimized.
Ms2ger
referenced this issue
Aug 16, 2015
Open
Tracking: Unstable Rust feature gates used by Servo #5286
This comment has been minimized.
This comment has been minimized.
|
Nominating for stabilization in 1.6. I'm not sure how much of the API surface here we want to stabilize, but note that it's fine to stabilize the drain method even while it references a currently-unstable trait. |
aturon
added
the
I-nominated
label
Nov 3, 2015
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Note that the trait bound on the functions will not be included as part of the stabilization here, just the functions and return types. |
alexcrichton
added
final-comment-period
and removed
I-nominated
labels
Nov 5, 2015
This comment has been minimized.
This comment has been minimized.
|
This was discussed in the libs team triage meeting today and the decision was to stabilize |
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Dec 3, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Dec 3, 2015
alexcrichton
referenced this issue
Dec 3, 2015
Merged
std: Stabilize APIs for the 1.6 release #30187
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Dec 3, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Dec 3, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Dec 3, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Dec 3, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Dec 4, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Dec 4, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Dec 4, 2015
bors
added a commit
that referenced
this issue
Dec 5, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Dec 5, 2015
bors
added a commit
that referenced
this issue
Dec 5, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Dec 5, 2015
bors
added a commit
that referenced
this issue
Dec 6, 2015
bors
added a commit
that referenced
this issue
Dec 6, 2015
bors
closed this
in
#30187
Dec 6, 2015
This comment has been minimized.
This comment has been minimized.
|
I noticed this is closed since |
This comment has been minimized.
This comment has been minimized.
|
@durka yeah we should likely open a new issue for that |
This comment has been minimized.
This comment has been minimized.
|
Okay, will do! On Wed, Jan 13, 2016 at 1:40 PM, Alex Crichton notifications@github.com
|
aturon commentedAug 12, 2015
The
drainmethod was originally proposed in collections reform 2 and then adjusted in a follow-up RFC. The main remaining question for the API is the traits it uses to accept various kinds of ranges, which potentially interacts with inclusive ranges.cc @bluss, who is working on an RFC to finish off this API.