Skip to content

Commit aad6cae

Browse files
authored
Merge pull request #84314 from valeriyvan/OutputRawSpan
Minor fixes in OutputRawSpan.swift
2 parents f219e86 + 54a37f2 commit aad6cae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/public/core/Span/OutputRawSpan.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ extension OutputRawSpan {
106106
/// memory.
107107
///
108108
/// - Parameters:
109-
/// - buffer: an `UnsafeMutableBufferPointer` to be initialized
109+
/// - buffer: an `UnsafeMutableRawBufferPointer` to be initialized
110110
/// - initializedCount: the number of initialized bytes
111111
/// at the beginning of `buffer`.
112112
@unsafe
@@ -124,7 +124,7 @@ extension OutputRawSpan {
124124
}
125125
_precondition(
126126
0 <= initializedCount && initializedCount <= buffer.count,
127-
"OutputSpan count is not within capacity"
127+
"OutputRawSpan count is not within capacity"
128128
)
129129
unsafe self.init(
130130
_uncheckedBuffer: buffer, initializedCount: initializedCount
@@ -139,7 +139,7 @@ extension OutputRawSpan {
139139
/// memory.
140140
///
141141
/// - Parameters:
142-
/// - buffer: an `UnsafeMutableBufferPointer` to be initialized
142+
/// - buffer: a `Slice<UnsafeMutableRawBufferPointer>` to be initialized
143143
/// - initializedCount: the number of initialized bytes
144144
/// at the beginning of `buffer`.
145145
@unsafe

0 commit comments

Comments
 (0)