Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove the `Default` requirement from keys. #245
This PR removes the requirement that keys in
This PR removes the requirement that keys in `lookup_map` implement the `Default` trait. The implementation was required to get access to instances to re-use in key extraction, but we can instead ask the caller to supply the instances themselves; when a type implements `Default` this is especially easy. The constraint is only changed on `lookup_map` and not the `count`, `propose`, or `validate` methods.