From 0af2665526f728c268f9ad6c85ea09b3f6c2f71a Mon Sep 17 00:00:00 2001 From: Michele Sessa Date: Sat, 19 Nov 2022 14:40:39 +0000 Subject: [PATCH] docs(car_rental): make the goals more clear --- subjects/car_rental/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/subjects/car_rental/README.md b/subjects/car_rental/README.md index b386f8b41..c11c3a09b 100644 --- a/subjects/car_rental/README.md +++ b/subjects/car_rental/README.md @@ -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