structs2 solution

This commit is contained in:
mo8it
2024-06-21 22:31:06 +02:00
parent ef842d3a94
commit 1264510fc0
3 changed files with 54 additions and 4 deletions
+1 -1
View File
@@ -421,7 +421,7 @@ Creating instances of structs is easy, all you need to do is assign some values
to its fields.
There are however some shortcuts that can be taken when instantiating structs.
Have a look in The Book, to find out more:
Have a look in The Book to find out more:
https://doc.rust-lang.org/stable/book/ch05-01-defining-structs.html#creating-instances-from-other-instances-with-struct-update-syntax"""
[[exercises]]