docs(car_rental): make the goals more clear

This commit is contained in:
Michele Sessa 2022-11-19 14:40:39 +00:00 committed by Michele
parent fc14783654
commit 0af2665526
1 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,9 @@
Create a struct named `Car` and another one named `RentalBusiness`.
The scope of the exercise will be to modify and operate on the `Car` in the `RentalBusiness` even if this element is not declared as mutable.
The scope of the exercise will be to modify and operate on the `Car` in the `RentalBusiness` even if this element is not declared as mutable, introducing the concept of interior mutability.
To accomplish that you will create some associated methods of `RentalBusiness` that will return the field `car` in many different ways.
### Expected Functions and Structures