Skip to content

Commit 438a7b6

Browse files
committed
not sendable carrier
1 parent 8bd4ad2 commit 438a7b6

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

Sources/Instrumentation/Instrument.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ public protocol _SwiftInstrumentationSendable {}
2424
/// Conforming types are used to extract values from a specific `Carrier`.
2525
public protocol Extractor: _SwiftInstrumentationSendable {
2626
/// The carrier to extract values from.
27-
#if swift(>=5.6.0)
2827
associatedtype Carrier: Sendable
29-
#else
30-
associatedtype Carrier
31-
#endif
3228

3329
/// Extract the value for the given key from the `Carrier`.
3430
///
@@ -41,11 +37,7 @@ public protocol Extractor: _SwiftInstrumentationSendable {
4137
/// Conforming types are used to inject values into a specific `Carrier`.
4238
public protocol Injector: _SwiftInstrumentationSendable {
4339
/// The carrier to inject values into.
44-
#if swift(>=5.6.0)
4540
associatedtype Carrier: Sendable
46-
#else
47-
associatedtype Carrier
48-
#endif
4941

5042
/// Inject the given value for the given key into the given `Carrier`.
5143
///

Sources/Tracing/Tracer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public protocol Tracer: Instrument {
2929
/// - operationName: The name of the operation being traced. This may be a handler function, database call, ...
3030
/// - baggage: The `Baggage` providing information on where to start the new ``Span``.
3131
/// - kind: The ``SpanKind`` of the new ``Span``.
32-
/// - time: The `DispatchTime` at which to start the new ``Span``.
32+
/// - time: The time at which to start the new ``Span``.
3333
/// - function: The function name in which the span was started
3434
/// - fileID: The `fileID` where the span was started.
3535
/// - line: The file line where the span was started.

0 commit comments

Comments
 (0)