Skip to content

Commit 83e13ca

Browse files
committed
fix: Update Span's == argument types to Self
Resolves a compilation failure with recent Swift nightly toolchains... `error: member operator '==' of protocol 'Span' must have at least one argument of type 'Self'`
1 parent 9baa7b6 commit 83e13ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/OpenTelemetryApi/Trace/Span.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public extension Span {
7474
hasher.combine(context.spanId)
7575
}
7676

77-
static func == (lhs: Span, rhs: Span) -> Bool {
77+
static func == (lhs: Self, rhs: Self) -> Bool {
7878
return lhs.context.spanId == rhs.context.spanId
7979
}
8080
}

0 commit comments

Comments
 (0)