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 {
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)
You can’t perform that action at this time.
0 commit comments