You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exercises/concept/health-statistics/.docs/hints.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,6 @@ fn foo() -> i32 {
26
26
27
27
## 3. Implement the setter methods
28
28
29
-
- The `age_mut()` and `weight_mut()` methods are setters, responsible for mutating (updating) the corresponding field on a struct instance with the input argument.
29
+
- The `set_age()` and `set_weight()` methods are setters, responsible for updating the corresponding field on a struct instance with the input argument.
30
30
31
31
- As the signatures of these methods specify, the setter methods shouldn't return anything.
0 commit comments