diff --git a/codes/rust/chapter_hashing/array_hash_map.rs b/codes/rust/chapter_hashing/array_hash_map.rs
index b77b5a68a..3216509b3 100644
--- a/codes/rust/chapter_hashing/array_hash_map.rs
+++ b/codes/rust/chapter_hashing/array_hash_map.rs
@@ -4,13 +4,12 @@
  * Author: xBLACICEx (xBLACKICEx@outlook.com)
  */
 
-#[derive(Debug, Clone)]
 /* 键值对 */
+#[derive(Debug, Clone, PartialEq)]
 pub struct Pair {
     pub key: i32,
     pub val: String,
 }
-
 /* 基于数组简易实现的哈希表 */
 pub struct ArrayHashMap {
     buckets: Vec