diff options
| author | mo8it <mo8it@proton.me> | 2024-06-27 12:11:57 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-06-27 12:11:57 +0200 |
| commit | b4b7ae63ada9128d4798d301cfc757a60904c6b8 (patch) | |
| tree | d19b398559ad79c5e43ea3032358badc9c14b186 /rustlings-macros | |
| parent | c07209b635d6adf6fcadcbcca14942bf76a0a978 (diff) | |
traits3 solution
Diffstat (limited to 'rustlings-macros')
| -rw-r--r-- | rustlings-macros/info.toml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index f5dd82a..92e440a 100644 --- a/rustlings-macros/info.toml +++ b/rustlings-macros/info.toml @@ -772,11 +772,12 @@ the value is owned anyway.""" name = "traits3" dir = "15_traits" hint = """ -Traits can have a default implementation for functions. Structs that implement -the trait can then use the default version of these functions if they choose not -to implement the function themselves. +Traits can have a default implementation for functions. Data types that +implement the trait can then use the default version of these functions +if they choose not to implement the function themselves. -See the documentation at: https://doc.rust-lang.org/book/ch10-02-traits.html#default-implementations""" +Related section in The Book: +https://doc.rust-lang.org/book/ch10-02-traits.html#default-implementations""" [[exercises]] name = "traits4" |
