Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions stdlib/public/core/Span/OutputRawSpan.swift
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ extension OutputRawSpan {
/// memory.
///
/// - Parameters:
/// - buffer: an `UnsafeMutableBufferPointer` to be initialized
/// - buffer: an `UnsafeMutableRawBufferPointer` to be initialized
/// - initializedCount: the number of initialized bytes
/// at the beginning of `buffer`.
@unsafe
Expand All @@ -124,7 +124,7 @@ extension OutputRawSpan {
}
_precondition(
0 <= initializedCount && initializedCount <= buffer.count,
"OutputSpan count is not within capacity"
"OutputRawSpan count is not within capacity"
)
unsafe self.init(
_uncheckedBuffer: buffer, initializedCount: initializedCount
Expand All @@ -139,7 +139,7 @@ extension OutputRawSpan {
/// memory.
///
/// - Parameters:
/// - buffer: an `UnsafeMutableBufferPointer` to be initialized
/// - buffer: a `Slice<UnsafeMutableRawBufferPointer>` to be initialized
/// - initializedCount: the number of initialized bytes
/// at the beginning of `buffer`.
@unsafe
Expand Down