-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix intersperse_fold #81152
Fix intersperse_fold #81152
Conversation
r? @shepmaster (rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
The job Click to see the possible cause of the failure (guessed by this bot)
|
cd96960
to
72dd5a4
Compare
The second commit 72dd5a445a3c6663399c86cd33235b5f9e6bd099 is the result of |
The job Click to see the possible cause of the failure (guessed by this bot)
|
It looks like your local branch is using the wrong rustfmt for some reason, not sure why that would be though. Please file an issue if you can't successfully drop it from this PR so that I can investigate. |
72dd5a4
to
b1171d6
Compare
Can you add a test with a string, such as reported in the original issue? They said that collecting into a vector did work regardless, but not when it was collected into a string. |
Here is the playground link of such test: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=26f37fc7f7fa317f3d458623d047952b Will add that test soon though I feel the test redundant. |
47d9c92
to
4f8bfad
Compare
4f8bfad
to
20d8478
Compare
cc @camelid |
Thanks! @bors r+ |
📌 Commit 9272d53 has been approved by |
Fix intersperse_fold Here is a standalone playground link in case anybody wants to modify code: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=626b4d044fb74f044a36098ad907e40f Fixes rust-lang#81145 cc rust-lang#79479 `@jonas-schievink`
Fix intersperse_fold Here is a standalone playground link in case anybody wants to modify code: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=626b4d044fb74f044a36098ad907e40f Fixes rust-lang#81145 cc rust-lang#79479 ``@jonas-schievink``
☀️ Test successful - checks-actions |
Here is a standalone playground link in case anybody wants to modify code: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=626b4d044fb74f044a36098ad907e40f
Fixes #81145
cc #79479 @jonas-schievink