The Rust Programming Language: Refactoring to Improve Modularity and Error Handling

Steve Klabnik · Carol Nichols · Chris KrychoOnline resourcereference

Separate argument handling, file input and the function you can test.

Open the source ↗

How to study this source

Ideas and questions

Read background definitions when a term blocks the argument. Then return to the source and reconstruct its claim in your own words.

Read alongside, read against