Skip to content

Added two version of reverse and a swap function to the standard library. #396

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

Closed
wants to merge 1 commit into from

Conversation

eholk
Copy link
Contributor

@eholk eholk commented May 19, 2011

One version does the reverse in place, using swap, and the other makes a reversed copy of the vector.

@graydon
Copy link
Contributor

graydon commented May 20, 2011

Integrated, thanks.

@graydon graydon closed this May 20, 2011
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this pull request Mar 7, 2023
* Handle dupnoneed in forward mode

* Fix allocs with more than one parameter (rust-lang#397)

* Add test
GuillaumeGomez pushed a commit to GuillaumeGomez/rust that referenced this pull request Feb 21, 2024
dpaoliello pushed a commit to dpaoliello/rust that referenced this pull request Mar 22, 2024
Fix build error on big endian aarch64
tautschnig added a commit to carolynzech/rust that referenced this pull request Jul 10, 2025
…t-lang#396)

While the prior fixes made sure that submodule changes are picked up,
the attempt to commit would fail when there were _no_ changes. See
https://github.com/model-checking/verify-rust-std/actions/runs/15878565075/job/44772389751
for a failing run.

Now we will only attempt to commit when there are changes.

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants