forked from Rust-related/RustPython
Remove hash_index field from DictEntry struct.
It was never usefull and was added in previous commit by mistake
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user