(&self, key_hash: u64)
| 169 | let name_hash = perro_ids::string_to_u64(name); |
| 170 | self.headers |
| 171 | .iter() |
| 172 | .position(|cell| cell.hash == name_hash && cell.text == name) |
| 173 | } |
| 174 | |
| 175 | /// Returns the first header with `name_hash`. |
| 176 | /// |
| 177 | /// Hash-only lookups cannot distinguish collisions. Use [`Self::header_index`] when the |
no test coverage detected