Skip to content

howtocodeit/ultimate_newtypes_solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exercise solutions: The Ultimate Guide to Rust Newtypes

Cover image for "The Ultimate Guide to Rust Newtypes"

My approaches to solving the exercises for The Ultimate Guide to Rust Newtypes.

Each solution is presented as its own module (ex1, ex2, etc.), complete with comments so you can follow my thought process. All solutions are fully tested.

Exercise 3 has a particularly chunky solution. With this one, I wanted to hint at how a well-thought-through, single-purpose solution can be generalized into a full Rust library.

Questions or comments on these solutions? Head over to the discussion on How To Code It!

About

Solutions to the exercises in the Ultimate Guide to Rust Newtypes: https://www.howtocodeit.com/articles/ultimate-guide-rust-newtypes#exercises

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages