Skip to content

Commit

Permalink
Change ownership.md to talk about String instead of File
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jonathanpallant committed Jun 16, 2023
1 parent 1d80def commit 2967307
Showing 1 changed file with 140 additions and 158 deletions.
Loading

0 comments on commit 2967307

Please sign in to comment.