diff --git a/lib/std/array_hash_map.zig b/lib/std/array_hash_map.zig index ba086f8764..c82c553370 100644 --- a/lib/std/array_hash_map.zig +++ b/lib/std/array_hash_map.zig @@ -427,7 +427,7 @@ pub fn ArrayHashMap( /// Set the map to an empty state, making deinitialization a no-op, and /// returning a copy of the original. pub fn move(self: *Self) Self { - self.pointer_stability.assertUnlocked(); + self.unmanaged.pointer_stability.assertUnlocked(); const result = self.*; self.unmanaged = .{}; return result;