2 ms·
Vec::push<Allocator>(..) makes no sense, the Allocator is a parameter to the Vec type.
by tialaramex 4y ago
Vec::push<Allocator>(..) makes no sense, the Allocator is a parameter to the Vec type.
- kaba0 4y agoThat’s what I meant to write
- tialaramex 4y agoOK and... ? What purpose does an always-failing allocator for Vec have? I guess maybe it's useful for some unit testing cases, but otherwise it seems pointless.