Open mersinvald opened 6 years ago
Retain seems to also be clocked by FnMut
closure non-copy nature. Taking it by value is impossible as buckets also do take it by value, hence it is moved out at the first iteration over buckets.
Postponing this feature until I figure out how to implement retain either without moving closure or with making a copy of it.
Implementation of
retain
is blocked by #10 because of type difference