Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix index calculation in panic guard of clone_from_impl
Previously, it was possible for an uninitialized element to be dropped if all of the following occurred: - `clone_from` was called where `T: !Copy`. - The `clone` implementation of `T` panicked. - The first bucket of the source `HashMap` contained an entry.
- Loading branch information