explain-rs
explain-rs copied to clipboard
Explain generics
I once wrote a small example, in which i made the caller choose the type of a Collection with type inference of the return type, all with generics and without trait objects. If don't have it on hand, if i didn't provide it in the meantime, ping me about it and i will rewrite it.