summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--swift.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/swift.html.markdown b/swift.html.markdown
index 0e68e65f..e46dcc75 100644
--- a/swift.html.markdown
+++ b/swift.html.markdown
@@ -654,7 +654,7 @@ class Rect: Shape {
// but still want to run code before and after getting or setting
// a property, you can use `willSet` and `didSet`
var identifier: String = "defaultID" {
- // the `willSet` arg will be the variable name for the new value
+ // the `someIdentifier` arg will be the variable name for the new value
willSet(someIdentifier) {
print(someIdentifier)
}