Skip to content

Commit 450bf21

Browse files
authored
Add link to derive_more for newtypes (#147)
1 parent 6bab5f3 commit 450bf21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

patterns/newtype.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,5 @@ Here, `Bar` might be some public, generic type and `T1` and `T2` are some intern
102102
[Newtypes in Haskell](https://wiki.haskell.org/Newtype)
103103

104104
[Type aliases](https://doc.rust-lang.org/stable/book/ch19-04-advanced-types.html#creating-type-synonyms-with-type-aliases)
105+
106+
[derive_more](https://crates.io/crates/derive_more), a crate for deriving many builtin traits on newtypes.

0 commit comments

Comments
 (0)