2 ms·
I believe it's coming eventually, but for the moment we need workarounds like this.
by mikeash 9y ago
I believe it's coming eventually, but for the moment we need workarounds like this.
- masklinn 9y agoIt looks like trait objects could also work for the essay, e.g. the original examples could be achieved as: fn f(seq: &mut Iterator<Item=&u8>) although due to object-safety constraints they may not be suitable for every case.