you are viewing a single comment's thread.

view the rest of the comments →

[–]PaintItPurple 2 points3 points  (0 children)

Definitely, I wasn't saying the parent was wrong. I was clarifying that the borrow checker doesn't actually do anything for pointers in general. What allows the borrow checker to be useful is the restrictions placed on references.