File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -288,14 +288,14 @@ extension RawSpan {
288
288
289
289
/// Unsafely create a `RawSpan` over initialized memory.
290
290
///
291
- /// The region of memory representing `byteCount ` bytes starting at `pointer`
291
+ /// The region of memory representing `count ` bytes starting at `pointer`
292
292
/// must remain valid, initialized and immutable
293
293
/// throughout the lifetime of the newly-created `RawSpan`.
294
294
/// Failure to maintain this invariant results in undefined behaviour.
295
295
///
296
296
/// - Parameters:
297
297
/// - 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.
299
299
@unsafe
300
300
@_alwaysEmitIntoClient
301
301
@lifetime ( borrow pointer)
You can’t perform that action at this time.
0 commit comments