std: reword some comments

This commit is contained in:
Andrew Kelley
2023-07-16 18:32:52 -07:00
parent c6aa29b6fd
commit a576082170
2 changed files with 4 additions and 5 deletions

View File

@@ -728,7 +728,7 @@ pub fn ArrayHashMapUnmanaged(
}
const index = self.entries.addOneAssumeCapacity();
// unsafe indexing because the length changed
// The slice length changed, so we directly index the pointer.
if (store_hash) hashes_array.ptr[index] = h;
return GetOrPutResult{