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 2d23ab3 commit febfd34Copy full SHA for febfd34
stdlib/public/core/MemoryLayout.swift
@@ -40,10 +40,10 @@
40
/// byteCount: count * MemoryLayout<Point>.stride,
41
/// alignment: MemoryLayout<Point>.alignment)
42
@frozen // namespace
43
-public enum MemoryLayout<T: ~Copyable> {}
+public enum MemoryLayout<T: ~Copyable>: Copyable {}
44
45
@available(*, unavailable)
46
-extension MemoryLayout : _BitwiseCopyable {}
+extension MemoryLayout: _BitwiseCopyable {}
47
48
extension MemoryLayout where T: ~Copyable {
49
/// The contiguous memory footprint of `T`, in bytes.
0 commit comments