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 values_mut (fixes #36) and shrink_to_fit (fixes #28). #37

Merged
merged 2 commits into from
Jun 19, 2017
Merged

Add values_mut (fixes #36) and shrink_to_fit (fixes #28). #37

merged 2 commits into from
Jun 19, 2017

Conversation

clarfonthey
Copy link
Contributor

No description provided.

@clarfonthey
Copy link
Contributor Author

@gankro @apasel422 you two seem to be the ones able to merge this?

@@ -191,6 +191,22 @@ impl<V> VecMap<V> {
}
}

/// Trims the `VecMap` of any excess capacity.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't you think "excess capacity" could also describe Nones that may remain at the end of the array?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes and I will add a fix for this momentarily!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great

@pczarn pczarn merged commit 71ff7f1 into contain-rs:master Jun 19, 2017
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