Skip to content

Commit ba07967

Browse files
authored
Rename do not switch case (#129)
1 parent f4adcda commit ba07967

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Tracing/SpanProtocol.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ public enum SpanAttribute: Equatable {
327327
case string(String)
328328
case stringArray([String])
329329

330-
case __DO_NOT_SWITCH_EXHAUSTIVELY_OVER_THIS_ENUM
330+
case __DO_NOT_SWITCH_EXHAUSTIVELY_OVER_THIS_ENUM_USE_DEFAULT_INSTEAD
331331

332332
case stringConvertible(CustomStringConvertible & Sendable)
333333
case stringConvertibleArray([CustomStringConvertible & Sendable])
@@ -367,7 +367,7 @@ public enum SpanAttribute: Equatable {
367367
return value
368368
case .stringConvertibleArray(let value):
369369
return value
370-
case .__DO_NOT_SWITCH_EXHAUSTIVELY_OVER_THIS_ENUM:
370+
case .__DO_NOT_SWITCH_EXHAUSTIVELY_OVER_THIS_ENUM_USE_DEFAULT_INSTEAD:
371371
fatalError("Cannot have values of __DO_NOT_SWITCH_EXHAUSTIVELY_OVER_THIS_ENUM")
372372
}
373373
}

0 commit comments

Comments
 (0)