Closed jonathanpallant closed 1 year ago
Files are complicated, and I think the io::Result and so on gets in the way of the point about transferring ownership.
Strings also are complicated (a &String turns into a &str very easily), but that's easier to explain and actually relevant to the point at hand.
Closes: #70
Files are complicated, and I think the io::Result and so on gets in the way of the point about transferring ownership.
Strings also are complicated (a &String turns into a &str very easily), but that's easier to explain and actually relevant to the point at hand.
Closes: #70