File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ public struct UnsafeRawPointer: _Pointer {
244
244
/// - Parameter other: The typed pointer to convert.
245
245
@_transparent
246
246
public init < T> ( @_nonEphemeral _ other: UnsafeMutablePointer < T > ) {
247
- _rawValue = other. _rawValue
247
+ _rawValue = other. _rawValue
248
248
}
249
249
250
250
/// Creates a new raw pointer from the given typed pointer.
@@ -257,8 +257,8 @@ public struct UnsafeRawPointer: _Pointer {
257
257
/// result is `nil`.
258
258
@_transparent
259
259
public init ? < T> ( @_nonEphemeral _ other: UnsafeMutablePointer < T > ? ) {
260
- guard let unwrapped = other else { return nil }
261
- _rawValue = unwrapped. _rawValue
260
+ guard let unwrapped = other else { return nil }
261
+ _rawValue = unwrapped. _rawValue
262
262
}
263
263
264
264
/// Deallocates the previously allocated memory block referenced by this pointer.
@@ -429,7 +429,7 @@ public struct UnsafeRawPointer: _Pointer {
429
429
MemoryLayout < T > . alignment. _builtinWordValue)
430
430
return Builtin . loadRaw ( alignedPointer)
431
431
#else
432
- return Builtin . loadRaw ( rawPointer)
432
+ return Builtin . loadRaw ( rawPointer)
433
433
#endif
434
434
}
435
435
You can’t perform that action at this time.
0 commit comments