Skip to content

Commit e49050a

Browse files
valeriyvanglessard
andauthored
Update stdlib/public/core/Span/RawSpan.swift
Co-authored-by: Guillaume Lessard <[email protected]>
1 parent 83d3d4b commit e49050a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Span/RawSpan.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ extension RawSpan {
288288

289289
/// Unsafely create a `RawSpan` over initialized memory.
290290
///
291-
/// The region of memory representing `count` bytes starting at `pointer`
291+
/// The region of memory representing `count` elements 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.

0 commit comments

Comments
 (0)