Skip to content

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