3 ms·
Is that what this is all about? I feel like the examples people give are nowhere near this simple.
by flippinburgers 4y ago
Is that what this is all about? I feel like the examples people give are nowhere near this simple.
- stouset 4y agoYep. People are trying to show how you might use it in practice, which is useful. But I think people should start with the above. If you’ve ever used associated types, this is the sort of thing you would probably expect would be possible even if you never needed to do it. Now it’s possible.