diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2019-06-12 18:31:32 +0200 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2019-08-16 18:08:35 +0200 |
| commit | a92c29b2385f4999d4cd9ef7589f1fc07ef9cdfb (patch) | |
| tree | 9933ecda325e799b8dcb105bb40b323f816fca50 /src/libstd/collections/hash | |
| parent | 36b18a1901e50ab526fd03b5f4713c283f2e2fb6 (diff) | |
| download | rust-a92c29b2385f4999d4cd9ef7589f1fc07ef9cdfb.tar.gz rust-a92c29b2385f4999d4cd9ef7589f1fc07ef9cdfb.zip | |
Update hashbrown to 0.5.0
Diffstat (limited to 'src/libstd/collections/hash')
| -rw-r--r-- | src/libstd/collections/hash/map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs index 8581cf13b08..db637a108cb 100644 --- a/src/libstd/collections/hash/map.rs +++ b/src/libstd/collections/hash/map.rs @@ -2545,7 +2545,7 @@ fn map_entry<'a, K: 'a, V: 'a>(raw: base::RustcEntry<'a, K, V>) -> Entry<'a, K, fn map_collection_alloc_err(err: hashbrown::CollectionAllocErr) -> TryReserveError { match err { hashbrown::CollectionAllocErr::CapacityOverflow => TryReserveError::CapacityOverflow, - hashbrown::CollectionAllocErr::AllocErr => TryReserveError::AllocErr, + hashbrown::CollectionAllocErr::AllocErr { .. } => TryReserveError::AllocErr, } } |
