Skip to content

Commit b302ea6

Browse files
committed
Improve wording of this carve-out a bit
1 parent ce8b4bd commit b302ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/0458-strict-memory-safety.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ extension Array<Int> {
249249
}
250250
```
251251

252-
The `@safe` annotation on a declaration takes responsibility for its direct arguments, so (for example) a variable of unsafe type used as an argument to a `@safe` function (or as the `self` for a property or subscript reference) will not be diagnosed as unsafe:
252+
The `@safe` annotation on a declaration takes responsibility for any variables of unsafe type that are used as its direct arguments (including the `self`). If such a variable is used to access a `@safe` property or subscript, or in a function call to a `@safe` function, it will not be diagnosed as unsafe:
253253

254254
```swift
255255
extension Array<Int> {

0 commit comments

Comments
 (0)