We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da34300 commit 868ec3bCopy full SHA for 868ec3b
CHANGELOG.md
@@ -34,12 +34,12 @@
34
35
```swift
36
func evilMalloc(size: Int) -> Int {
37
- // warning: call to global function 'malloc' involves unsafe type 'UnsafeMutableRawPointer'
+ // use of global function 'malloc' involves unsafe type 'UnsafeMutableRawPointer'
38
return Int(bitPattern: malloc(size))
39
}
40
```
41
42
- These warnings are in their own diagnostic group (`Unsafe`) and can
+ These warnings are in their own diagnostic group (`StrictMemorySafety`) and can
43
be suppressed by ackwnowledging the memory-unsafe behavior, for
44
example with an `unsafe` expression:
45
0 commit comments