Skip to content

Commit af8d13e

Browse files
committed
stdlib: Make UnicodeDecodingResult fixed-layout
1 parent 2dc96a9 commit af8d13e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/core/Unicode.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import SwiftShims
2222
/// of a decoding error.
2323
///
2424
/// - SeeAlso: `UnicodeCodec.decode(next:)`
25+
@_fixed_layout
2526
public enum UnicodeDecodingResult : Equatable {
2627
/// A decoded Unicode scalar value.
2728
case scalarValue(UnicodeScalar)

0 commit comments

Comments
 (0)