Skip to content

auto: Convert a couple vec functions to return references and slices#4771

Closed
erickt wants to merge 3 commits intorust-lang:incomingfrom
erickt:vec-ref
Closed

auto: Convert a couple vec functions to return references and slices#4771
erickt wants to merge 3 commits intorust-lang:incomingfrom
erickt:vec-ref

Conversation

@erickt
Copy link
Copy Markdown
Contributor

@erickt erickt commented Feb 3, 2013

Specifically head, head_opt, tail, tailn, init, initn, last, and last_opt.

@erickt
Copy link
Copy Markdown
Contributor Author

erickt commented Feb 4, 2013

FYI, I've pushed this to try to save you folks some time on testing it.

@erickt
Copy link
Copy Markdown
Contributor Author

erickt commented Feb 5, 2013

I pushed this to try, and it's green on Linux, Mac, and BSD.

@catamorphism
Copy link
Copy Markdown
Contributor

@erickt Do you mind rebasing this and re-pushing? Thanks...

@catamorphism
Copy link
Copy Markdown
Contributor

@erickt: I tried to rebase this myself, but there were hella conflicts. Please rebase and re-submit, thanks!

RalfJung added a commit to RalfJung/rust that referenced this pull request Jan 18, 2026
…ests/libc-affinity

Refactor CPU affinity tests to use errno_check for error handling
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.

3 participants