Problem Statement
When do you need to mark a method as `mutating` inside a Swift struct?
Explanation
In Swift a `struct` is a value type. To modify its own properties within a method, you must mark the method `mutating`. This makes clear that the instance is being changed. Classes do not require `mutating`.
Practice Sets
This question appears in the following practice sets: