aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-04-05 03:29:09 +0100
committerGitHub <[email protected]>2021-04-05 03:29:09 +0100
commit58924cfae1be231e01736407fa666f31898a699e (patch)
treeb5786d42ad1fa6dd64863079a00150ec7e426fa6 /lib
parent19e09a4a54c75312aeaac04577f2d0e067463ab6 (diff)
parent6f1ee9a7f4987d5286e6d875f544ce11f02465f3 (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.rs2
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)]
94pub struct Arena<T> { 94pub struct Arena<T> {
95 data: Vec<T>, 95 data: Vec<T>,
96} 96}