mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
20e827f254
@ -157,7 +157,7 @@ print(numbers) // [3, 6, 18]
|
||||
// structured object, you should use a `struct`
|
||||
|
||||
// A simple class `Square` extends `Shape`
|
||||
class Rect: Shape {
|
||||
class Square: Shape {
|
||||
var sideLength: Int = 1
|
||||
|
||||
// Custom getter and setter property
|
||||
|
Loading…
Reference in New Issue
Block a user