Skip to content

Commit

Permalink
Merge pull request #1 from clackary/fix/span-self-arguments
Browse files Browse the repository at this point in the history
fix: Update Span's == argument types to Self
  • Loading branch information
NeedleInAJayStack authored May 24, 2024
2 parents 9baa7b6 + 83e13ca commit ed586cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/OpenTelemetryApi/Trace/Span.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public extension Span {
hasher.combine(context.spanId)
}

static func == (lhs: Span, rhs: Span) -> Bool {
static func == (lhs: Self, rhs: Self) -> Bool {
return lhs.context.spanId == rhs.context.spanId
}
}
Expand Down

0 comments on commit ed586cd

Please sign in to comment.