Skip to content
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

Add ArrayVec::spare_capacity_mut #279

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

tbu-
Copy link
Collaborator

@tbu- tbu- commented Oct 16, 2024

This mirrors Vec::spare_capacity_mut. Description and example are taken from this function, too.

CC #278

src/arrayvec.rs Show resolved Hide resolved
@tbu- tbu- force-pushed the pr_spare_capacity_mut branch from befda1b to d15276f Compare October 16, 2024 16:55
src/arrayvec.rs Outdated Show resolved Hide resolved
@bluss
Copy link
Owner

bluss commented Oct 16, 2024

This is good, nice interface and replicating Vec should almost always be welcome in ArrayVec

This mirrors `Vec::spare_capacity_mut`. Description and example are
taken from this function, too.

CC bluss#278
@tbu- tbu- force-pushed the pr_spare_capacity_mut branch from d15276f to 11087a6 Compare October 16, 2024 19:15
@bluss
Copy link
Owner

bluss commented Oct 16, 2024

Ok thank you and let's go

@bluss bluss merged commit 4ef0e89 into bluss:master Oct 16, 2024
7 checks passed
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.

2 participants