diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-05 03:29:09 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-05 03:29:09 +0100 |
commit | 58924cfae1be231e01736407fa666f31898a699e (patch) | |
tree | b5786d42ad1fa6dd64863079a00150ec7e426fa6 /lib | |
parent | 19e09a4a54c75312aeaac04577f2d0e067463ab6 (diff) | |
parent | 6f1ee9a7f4987d5286e6d875f544ce11f02465f3 (diff) |
Merge #8334
8334: Intern and shrink more data to reduce memory usage r=jonas-schievink a=jonas-schievink
bors r+
Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arena/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arena/src/lib.rs b/lib/arena/src/lib.rs index bce15c867..1720537cb 100644 --- a/lib/arena/src/lib.rs +++ b/lib/arena/src/lib.rs | |||
@@ -90,7 +90,7 @@ impl<T> Idx<T> { | |||
90 | } | 90 | } |
91 | 91 | ||
92 | /// Yet another index-based arena. | 92 | /// Yet another index-based arena. |
93 | #[derive(Clone, PartialEq, Eq)] | 93 | #[derive(Clone, PartialEq, Eq, Hash)] |
94 | pub struct Arena<T> { | 94 | pub struct Arena<T> { |
95 | data: Vec<T>, | 95 | data: Vec<T>, |
96 | } | 96 | } |