Add missing `Sendable` annotations
# Motivation We were missing a few `Sendable` annotations on our public types. # Modification This PR adds `Sendable` to the missing types.
This commit is contained in:
parent
79e5fb4fe4
commit
e08265a334
|
|
@ -374,8 +374,8 @@ extension Recorder: CustomStringConvertible {
|
|||
|
||||
// MARK: - Timer
|
||||
|
||||
public struct TimeUnit: Equatable {
|
||||
private enum Code: Equatable {
|
||||
public struct TimeUnit: Equatable, Sendable {
|
||||
private enum Code: Equatable, Sendable {
|
||||
case nanoseconds
|
||||
case microseconds
|
||||
case milliseconds
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ public final class TestMetrics: MetricsFactory {
|
|||
public typealias Label = String
|
||||
public typealias Dimensions = String
|
||||
|
||||
public struct FullKey {
|
||||
public struct FullKey: Sendable {
|
||||
let label: Label
|
||||
let dimensions: [(String, String)]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue