Skip to content

Commit 54a37f2

Browse files
committed
Fix precondition message
1 parent 6241006 commit 54a37f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Span/OutputRawSpan.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)