File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,7 @@ public protocol _SwiftInstrumentationSendable {}
24
24
/// Conforming types are used to extract values from a specific `Carrier`.
25
25
public protocol Extractor : _SwiftInstrumentationSendable {
26
26
/// The carrier to extract values from.
27
- #if swift(>=5.6.0)
28
27
associatedtype Carrier : Sendable
29
- #else
30
- associatedtype Carrier
31
- #endif
32
28
33
29
/// Extract the value for the given key from the `Carrier`.
34
30
///
@@ -41,11 +37,7 @@ public protocol Extractor: _SwiftInstrumentationSendable {
41
37
/// Conforming types are used to inject values into a specific `Carrier`.
42
38
public protocol Injector : _SwiftInstrumentationSendable {
43
39
/// The carrier to inject values into.
44
- #if swift(>=5.6.0)
45
40
associatedtype Carrier : Sendable
46
- #else
47
- associatedtype Carrier
48
- #endif
49
41
50
42
/// Inject the given value for the given key into the given `Carrier`.
51
43
///
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public protocol Tracer: Instrument {
29
29
/// - operationName: The name of the operation being traced. This may be a handler function, database call, ...
30
30
/// - baggage: The `Baggage` providing information on where to start the new ``Span``.
31
31
/// - 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``.
33
33
/// - function: The function name in which the span was started
34
34
/// - fileID: The `fileID` where the span was started.
35
35
/// - line: The file line where the span was started.
You can’t perform that action at this time.
0 commit comments