@@ -694,9 +694,9 @@ public struct UnsafeMutablePointer<Pointee>: _Pointer {
694
694
/// side of an assignment, the instance is updated. The instance must
695
695
/// be initialized or this pointer's `Pointee` type must be a trivial type.
696
696
///
697
- /// Do not update an instance of a nontrivial type through `pointee` to
698
- /// uninitialized memory . Instead, use an initializing method, such as
699
- /// `initialize(repeating:count :)`.
697
+ /// Uninitialized memory cannot be initialized to a nontrivial type
698
+ /// using `pointee` . Instead, use an initializing method, such as
699
+ /// `initialize(to :)`.
700
700
@inlinable // unsafe-performance
701
701
public var pointee : Pointee {
702
702
@_transparent unsafeAddress {
@@ -1096,9 +1096,9 @@ public struct UnsafeMutablePointer<Pointee>: _Pointer {
1096
1096
/// side of an assignment, the memory at `p + i` is updated. The memory must
1097
1097
/// be initialized or the pointer's `Pointee` type must be a trivial type.
1098
1098
///
1099
- /// Do not update an instance of a nontrivial type through the subscript to
1100
- /// uninitialized memory . Instead, use an initializing method, such as
1101
- /// `initialize(repeating:count :)`.
1099
+ /// Uninitialized memory cannot be initialized to a nontrivial type
1100
+ /// using this subscript . Instead, use an initializing method, such as
1101
+ /// `initialize(to :)`.
1102
1102
///
1103
1103
/// - Parameter i: The offset from this pointer at which to access an
1104
1104
/// instance, measured in strides of the pointer's `Pointee` type.
0 commit comments