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 62e5780 commit e34ee7bCopy full SHA for e34ee7b
stdlib/public/core/MemoryLayout.swift
@@ -37,8 +37,8 @@
37
///
38
/// let count = 4
39
/// let pointPointer = UnsafeMutableRawPointer.allocate(
40
-/// bytes: count * MemoryLayout<Point>.stride,
41
-/// alignedTo: MemoryLayout<Point>.alignment)
+/// byteCount: count * MemoryLayout<Point>.stride,
+/// alignment: MemoryLayout<Point>.alignment)
42
@frozen // namespace
43
public enum MemoryLayout<T> {
44
/// The contiguous memory footprint of `T`, in bytes.
0 commit comments