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

collections: Enable IndexMut for some collections #18445

Merged
merged 1 commit into from
Oct 31, 2014

Conversation

alexcrichton
Copy link
Member

This commit enables implementations of IndexMut for a number of collections,
including Vec, RingBuf, SmallIntMap, TrieMap, TreeMap, and HashMap. At the same
time this deprecates the get_mut methods on vectors in favor of using the
indexing notation.

cc #18424

@alexcrichton alexcrichton mentioned this pull request Oct 30, 2014
24 tasks
This commit enables implementations of IndexMut for a number of collections,
including Vec, RingBuf, SmallIntMap, TrieMap, TreeMap, and HashMap. At the same
time this deprecates the `get_mut` methods on vectors in favor of using the
indexing notation.

cc rust-lang#18424
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Oct 31, 2014
Conflicts:
	src/libcollections/vec.rs
@bors bors merged commit 1d35662 into rust-lang:master Oct 31, 2014
@alexcrichton alexcrichton deleted the index-mut branch October 31, 2014 05:05
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