Try to allow for more general keys
marcusklaas opened this issue · comments
Marcus Klaas de Vries commented
Instead of having key function for<'t> FnMut(&'t T) -> &'t K
, could we also have a FnMut(&'t T) -> K
where K: 't
?
Marcus Klaas de Vries commented
Should work! Keys don't have to references now.