Skip to content

Commit 868ec3b

Browse files
committed
Update ChangeLog for strict memory safety
1 parent da34300 commit 868ec3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@
3434

3535
```swift
3636
func evilMalloc(size: Int) -> Int {
37-
// warning: call to global function 'malloc' involves unsafe type 'UnsafeMutableRawPointer'
37+
// use of global function 'malloc' involves unsafe type 'UnsafeMutableRawPointer'
3838
return Int(bitPattern: malloc(size))
3939
}
4040
```
4141

42-
These warnings are in their own diagnostic group (`Unsafe`) and can
42+
These warnings are in their own diagnostic group (`StrictMemorySafety`) and can
4343
be suppressed by ackwnowledging the memory-unsafe behavior, for
4444
example with an `unsafe` expression:
4545

0 commit comments

Comments
 (0)