3 ms·
And rust will? push_back on an immutable object sounds rather strange.
by fooker 9y ago
And rust will? push_back on an immutable object sounds rather strange.
- idsout 9y agoGiven a mutable vector: c++ will let you push_back while holding a reference to an element of that vector. rust will not.