Skip to content

Commit

Permalink
Add Angus Morrison's article about newtype to Step 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Sep 3, 2024
1 parent a751d2e commit ae11240
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 2_idioms/2_1_type_safety/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ For better understanding [newtype pattern][1], read through the following articl
- [Alexis King: Parse, don’t validate][7] ([ru][7_ru])
- [Stefan Baumgartner: Refactoring in Rust: Abstraction with the Newtype Pattern][10]
- [Official `nutype` crate docs][`nutype`]
- [Angus Morrison: The ultimate guide to Rust newtypes][11]



Expand Down Expand Up @@ -152,3 +153,4 @@ After completing everything above, you should be able to answer (and understand
[8]: https://www.greyblake.com/blog/builder-with-typestate-in-rust
[9]: https://peace.mk/blog/compile-time-correctness-type-state
[10]: https://fettblog.eu/refactoring-rust-abstraction-newtype
[11]: https://www.howtocodeit.com/articles/ultimate-guide-rust-newtypes#write-ergonomic-newtype-constructors-with-from-and-tryfrom

0 comments on commit ae11240

Please sign in to comment.