|
|
|
|
|
by rami3l
1242 days ago
|
|
However the borrow checker is not only about new/delete, it also prevents other forms of reference invalidations (e.g. when holding a reference to a vector element while appending to the vector, that reference can become invalid when the vector gets resized). |
|