Skip to content

Commit df632ad

Browse files
authored
Conform SpanStatus to Equatable (#46)
1 parent 6678bae commit df632ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Tracing/Span.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ extension SpanAttributes: ExpressibleByDictionaryLiteral {
584584
// MARK: Span Status
585585

586586
/// Represents the status of a finished Span. It's composed of a status code in conjunction with an optional descriptive message.
587-
public struct SpanStatus {
587+
public struct SpanStatus: Equatable {
588588
public let code: Code
589589
public let message: String?
590590

0 commit comments

Comments
 (0)