In this excerpt from Big Nerd Ranch Chapter 24, why does takeOwnership() not need to use an inout parameter when it is making a change to asset? Since it is modifying the asset's owner, I would have expected asset to be in-out.
Thank you in advance!
class Person {
var assets = [Asset]()
init(name: String) {
self.name = name
}
func takeOwnership(of asset: Asset) {
asset.owner = self
assets.append(asset)
}
}