fix:示例代码更新

This commit is contained in:
chenxi
2021-06-23 00:13:20 +08:00
parent a15735f51b
commit 373c42e456

View File

@ -97,7 +97,7 @@ class Person {
```swift
class Residence {
var rooms = [Room]()
var rooms: [Room] = []
var numberOfRooms: Int {
return rooms.count
}