Remove hash_index field from DictEntry struct.

It was never usefull and was added in previous commit by mistake
This commit is contained in:
Timur
2019-10-20 10:29:11 +03:00
parent 84040be5b8
commit 0df4eed07a

View File

@@ -37,7 +37,6 @@ impl<T> Default for Dict<T> {
#[derive(Clone)]
struct DictEntry<T> {
hash_index: HashIndex,
hash: HashValue,
key: PyObjectRef,
value: T,
@@ -78,7 +77,6 @@ impl<T: Clone> Dict<T> {
) {
let entry = DictEntry {
hash: hash_value,
hash_index,
key,
value,
};