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 upStabilized vec_splice and modified splice tracking issue #44640
Conversation
rust-highfive
assigned
BurntSushi
Sep 17, 2017
This comment has been minimized.
This comment has been minimized.
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @BurntSushi (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
Mark-Simulacrum
changed the title
stabilized splice (fixes #32310)
Stabilized splice
Sep 17, 2017
dtolnay
assigned
dtolnay
and unassigned
BurntSushi
Sep 17, 2017
dtolnay
requested changes
Sep 17, 2017
|
Sorry it isn't clear from the tracking issue -- but when the libs team discussed stabilizing Vec::splice and String::splice, we decided to stabilize Vec::splice but try a new signature for String::splice and keep it unstable. I left a comment on the tracking issue just now to clarify this. Please keep the unstable attribute on String::splice for now and change its tracking issue number to point to #44643. Since we are stabilizing one but not the other, they will need to have different feature names. We can minimize breakage by changing Vec::splice to be under the now-stable feature vec_splice and keeping String::splice under feature(splice). #[stable(feature = "vec_splice", since = "1.22.0")]#[unstable(feature = "splice", reason = "...", issue = "44643")]Thanks! |
This comment has been minimized.
This comment has been minimized.
|
Thanks for the heads-up! I'll do it later today. |
budziq
changed the title
Stabilized splice
Stabilized vec_splice and modified splice tracking issue
Sep 17, 2017
budziq
added some commits
Sep 16, 2017
budziq
force-pushed the
budziq:stabilize_splice
branch
from
74d5069
to
6b167f9
Sep 17, 2017
This comment has been minimized.
This comment has been minimized.
|
@dtolnay Done! |
dtolnay
approved these changes
Sep 17, 2017
This comment has been minimized.
This comment has been minimized.
|
@bors r+ rollup |
This comment has been minimized.
This comment has been minimized.
|
|
budziq commentedSep 17, 2017
•
edited
This stabilizes the vec_splice (Vec part of splice RFC)
Fixes #32310.