Skip to content

Commit 8bdcc00

Browse files
committed
Distinguish between "@unsafe" and "not safe"
1 parent 3bb4a17 commit 8bdcc00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/nnnn-strict-memory-safety.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ The `@unsafe` annotation is at the class level because any use of the `Sub` type
268268

269269
### Unsafe conformances
270270

271-
Implementing a protocol requirement that is not `@unsafe` (and not part of an `@unsafe` protocol) within an `@unsafe` declaration introduces unsafety, so it will produce a diagnostic in the strict safety mode:
271+
Implementing a protocol requirement that is safe (and not part of an `@unsafe` protocol) within an `@unsafe` declaration introduces unsafety, so it will produce a diagnostic in the strict safety mode:
272272

273273
```swift
274274
protocol P {

0 commit comments

Comments
 (0)