diff options
| author | Jannis Harder <jix@jixco.de> | 2013-11-24 23:41:33 +0100 |
|---|---|---|
| committer | Jannis Harder <jix@jixco.de> | 2013-11-25 00:09:40 +0100 |
| commit | 525878fc96deb41bdc8f68daf5ba686688889d79 (patch) | |
| tree | 25929fb53ef25b4e61316ba731da40a5b24d5ae2 /src/libstd/path | |
| parent | b3ff24adaa8c7f9c48c525f284526c23ffd33fcb (diff) | |
| download | rust-525878fc96deb41bdc8f68daf5ba686688889d79.tar.gz rust-525878fc96deb41bdc8f68daf5ba686688889d79.zip | |
std::trie: Fix find_mut for non-present keys
Make TrieMap/TrieSet's find_mut check the key for external nodes. Without this find_mut sometimes returns a reference to another key when querying for a non-present key.
Diffstat (limited to 'src/libstd/path')
0 files changed, 0 insertions, 0 deletions
