Uh oh!
There was an error while loading. Please reload this page.
Add method String::insert_str - #34771
Conversation
rust-highfive
commented
Jul 11, 2016
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
brson
commented
Jul 11, 2016
The functionality makes sense to me. Is there really no easy way to do this today? cc @rust-lang/libs |
brson
commented
Jul 11, 2016
@murarth Can you please change the stability attribute to 'unstable'? New features mostly don't get stabilized immediately. |
This is pretty common functionality whose absence I thought was a bit strange. The signature of This seems to me like a sufficiently small addition not to warrant an RFC, so I thought I'd go ahead and submit it. The |
murarth
commented
Jul 11, 2016
@brson: Sure, I just didn't know what to put for |
brson
commented
Jul 11, 2016
@murarth "0" is fine for now. If this PR is accepted then before it's merged you'll need to file a 'tracking' issue on the issue tracker to fill in the real number. |
murarth
commented
Jul 11, 2016
@brson: Okay. It's unstable now. |
BurntSushi
commented
Jul 11, 2016
This seems fine to me. I agree that it's small enough that we probably wouldn't need an RFC for it. |
sfackler
commented
Jul 12, 2016
LGTM |
ollie27
commented
Jul 12, 2016
This is covered by |
alexcrichton
commented
Jul 12, 2016
Ah yeah I was also under the impression that this was going to be functionality implemented through |
murarth
commented
Jul 12, 2016
I wasn't aware of that RFC. Even so, |
alexcrichton
commented
Jul 12, 2016
Yeah it's true that does look a bit odd! We might still have API room to add a function like this, and to me it seems to fit all existing conventions so I'd also be fine layering this on top (although it'd probably use |
aturon
commented
Jul 13, 2016
I'm likewise happy having this as a convenience on top of |
alexcrichton
commented
Jul 19, 2016
bors
commented
Jul 19, 2016
📌 Commit 0bcf64c has been approved by |
bors
commented
Jul 19, 2016
⌛ Testing commit 0bcf64c with merge 67f0941... |
bors
commented
Jul 19, 2016
💔 Test failed - auto-win-msvc-64-opt |
alexcrichton
commented
Jul 19, 2016
@bors: retry On Tue, Jul 19, 2016 at 12:46 PM, bors notifications@github.com wrote:
|
bors
commented
Jul 20, 2016
⌛ Testing commit 0bcf64c with merge 482a03c... |
bors
commented
Jul 20, 2016
💔 Test failed - auto-win-msvc-64-opt-rustbuild |
alexcrichton
commented
Jul 20, 2016
@bors: retry On Tue, Jul 19, 2016 at 9:19 PM, bors notifications@github.com wrote:
|
bors
commented
Jul 21, 2016
⌛ Testing commit 0bcf64c with merge 44b6d38... |
bors
commented
Jul 21, 2016
💔 Test failed - auto-win-gnu-32-opt-rustbuild |
alexcrichton
commented
Jul 21, 2016
@bors: retry On Wed, Jul 20, 2016 at 5:40 PM, bors notifications@github.com wrote:
|
bors
commented
Jul 21, 2016
⌛ Testing commit 0bcf64c with merge 6722228... |
bors
commented
Jul 21, 2016
💔 Test failed - auto-linux-64-debug-opt |
alexcrichton
commented
Jul 21, 2016
@bors: retry sorry for the number of retries... On Thu, Jul 21, 2016 at 12:21 PM, bors notifications@github.com wrote:
|
bors
commented
Jul 22, 2016
bors
commented
Jul 22, 2016
murarth
commented
Aug 9, 2016
Just curious, will the libs team create a tracking issue for this at some time or am I supposed to file one myself? |
alexcrichton
commented
Aug 9, 2016
Oh oops! Thanks for the reminder @murarth! This actually should have held off on landing until a tracking issue was made, but oh well. If you want to open a tracking issue and send a PR updating the reference here I'll r+ and tag appropriately. |
No description provided.