We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83d3d4b commit e49050aCopy full SHA for e49050a
stdlib/public/core/Span/RawSpan.swift
@@ -288,7 +288,7 @@ extension RawSpan {
288
289
/// Unsafely create a `RawSpan` over initialized memory.
290
///
291
- /// The region of memory representing `count` bytes starting at `pointer`
+ /// The region of memory representing `count` elements starting at `pointer`
292
/// must remain valid, initialized and immutable
293
/// throughout the lifetime of the newly-created `RawSpan`.
294
/// Failure to maintain this invariant results in undefined behaviour.
0 commit comments