From d4acafca32b94db50855ed9cad65a7c1a8456c42 Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Thu, 1 May 2025 14:59:31 +0900 Subject: [PATCH] Fix build --- vm/src/dict_inner.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vm/src/dict_inner.rs b/vm/src/dict_inner.rs index a165c7669a..1dd701b0b6 100644 --- a/vm/src/dict_inner.rs +++ b/vm/src/dict_inner.rs @@ -17,7 +17,6 @@ use crate::{ object::{Traverse, TraverseFn}, }; use num_traits::ToPrimitive; -use rustpython_common::hash::hash_integer; use std::{fmt, mem::size_of, ops::ControlFlow}; // HashIndex is intended to be same size with hash::PyHash @@ -995,7 +994,7 @@ impl DictKey for usize { } fn key_hash(&self, _vm: &VirtualMachine) -> PyResult { - Ok(hash_usize(*self)) + Ok(hash::hash_usize(*self)) } fn key_is(&self, _other: &PyObject) -> bool {