@@ -359,7 +359,7 @@ public struct UnsafePointer<Pointee>: _Pointer, Sendable {
359
359
/// deinitialized is in an *uninitialized* state. Uninitialized memory must be
360
360
/// initialized before it can be accessed for reading.
361
361
///
362
- /// You can use methods like `initialize(to :count:)`, `initialize(from:count:)`,
362
+ /// You can use methods like `initialize(repeating :count:)`, `initialize(from:count:)`,
363
363
/// and `moveInitialize(from:count:)` to initialize the memory referenced by a
364
364
/// pointer with a value or series of values.
365
365
///
@@ -635,7 +635,7 @@ public struct UnsafeMutablePointer<Pointee>: _Pointer, Sendable {
635
635
///
636
636
/// Do not assign an instance of a nontrivial type through `pointee` to
637
637
/// uninitialized memory. Instead, use an initializing method, such as
638
- /// `initialize(to :count:)`.
638
+ /// `initialize(repeating :count:)`.
639
639
@inlinable // unsafe-performance
640
640
public var pointee : Pointee {
641
641
@_transparent unsafeAddress {
@@ -961,7 +961,7 @@ public struct UnsafeMutablePointer<Pointee>: _Pointer, Sendable {
961
961
///
962
962
/// Do not assign an instance of a nontrivial type through the subscript to
963
963
/// uninitialized memory. Instead, use an initializing method, such as
964
- /// `initialize(to :count:)`.
964
+ /// `initialize(repeating :count:)`.
965
965
///
966
966
/// - Parameter i: The offset from this pointer at which to access an
967
967
/// instance, measured in strides of the pointer's `Pointee` type.
0 commit comments