Skip to content

Commit 83d3d4b

Browse files
committed
Fix doc comment
1 parent 1c03068 commit 83d3d4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/Span/RawSpan.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,14 +288,14 @@ extension RawSpan {
288288

289289
/// Unsafely create a `RawSpan` over initialized memory.
290290
///
291-
/// The region of memory representing `byteCount` bytes starting at `pointer`
291+
/// The region of memory representing `count` bytes starting at `pointer`
292292
/// must remain valid, initialized and immutable
293293
/// throughout the lifetime of the newly-created `RawSpan`.
294294
/// Failure to maintain this invariant results in undefined behaviour.
295295
///
296296
/// - Parameters:
297297
/// - pointer: a pointer to the first initialized byte.
298-
/// - byteCount: the number of initialized bytes in the span.
298+
/// - count: the number of initialized bytes in the span.
299299
@unsafe
300300
@_alwaysEmitIntoClient
301301
@lifetime(borrow pointer)

0 commit comments

Comments
 (0)