Skip to content

Commit 1bcf9dd

Browse files
committed
Property behaviors: typo
1 parent 5f4e152 commit 1bcf9dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

proposals/XXXX-property-behavior-decls.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ print(x) // Invokes the `lazy` getter, initializing the property
191191
x = 679 // Invokes the `lazy` setter
192192
```
193193

194-
Visible members of the behavior can also be accessed under `property.behavior`:
194+
Visible members of the behavior can also be accessed under
195+
`property.[behavior]`:
195196

196197
```swift
197198
x.[lazy].clear() // Invokes `lazy`'s `clear` method

0 commit comments

Comments
 (0)