Skip to content

Commit f2cab4d

Browse files
authored
SE-0458 make count a let (#2664)
1 parent 61220a4 commit f2cab4d

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
@@ -221,7 +221,7 @@ Like the `@unsafe` attribute, the `@safe` attribute ise used on declarations who
221221

222222
```swift
223223
extension UnsafeBufferPointer {
224-
@safe public var count: Int
224+
@safe public let count: Int
225225
@safe public var startIndex: Int { 0 }
226226
@safe public var endIndex: Int { count }
227227
}

0 commit comments

Comments
 (0)