Content-Length: 282512 | pFad | http://github.com/RustPython/RustPython/commit/94b38a51c4322d4e54c3f1fd3c7fe38c1ce88831

0D Fix build (#5765) · RustPython/RustPython@94b38a5 · GitHub
Skip to content

Commit 94b38a5

Browse files
authored
Fix build (#5765)
1 parent 253cc4e commit 94b38a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

vm/src/dict_inner.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ use crate::{
1717
object::{Traverse, TraverseFn},
1818
};
1919
use num_traits::ToPrimitive;
20-
use rustpython_common::hash::hash_integer;
2120
use std::{fmt, mem::size_of, ops::ControlFlow};
2221

2322
// HashIndex is intended to be same size with hash::PyHash
@@ -995,7 +994,7 @@ impl DictKey for usize {
995994
}
996995

997996
fn key_hash(&self, _vm: &VirtualMachine) -> PyResult<HashValue> {
998-
Ok(hash_usize(*self))
997+
Ok(hash::hash_usize(*self))
999998
}
1000999

10011000
fn key_is(&self, _other: &PyObject) -> bool {

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/RustPython/RustPython/commit/94b38a51c4322d4e54c3f1fd3c7fe38c1ce88831

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy