Skip to content

Commit 746d3f7

Browse files
committed
formatting
1 parent 3395e41 commit 746d3f7

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

Sources/Tracing/Tracer.swift

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public enum Tracer {
2626

2727
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *) // for TaskLocal Baggage
2828
extension Tracer {
29-
3029
/// Start a new ``Span`` using the global bootstrapped tracer reimplementation.
3130
///
3231
/// The current task-local `Baggage` is picked up and provided to the underlying tracer.

Sources/Tracing/TracerProtocol+Legacy.swift

-3
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ extension LegacyTracerProtocol {
239239

240240
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
241241
extension TracerProtocol {
242-
243242
/// Start a new span returning an existential ``SpanProtocol`` reference.
244243
///
245244
/// This API will be deprecated as soon as Swift 5.9 is released, and the Swift 5.7 requiring `TracerProtocol`
@@ -289,7 +288,6 @@ extension TracerProtocol {
289288
)
290289
}
291290

292-
293291
/// Start a new ``SpanProtocol`` and automatically end when the `operation` completes,
294292
/// including recording the `error` in case the operation throws.
295293
///
@@ -346,7 +344,6 @@ extension TracerProtocol {
346344
}
347345
}
348346

349-
350347
/// Start a new ``SpanProtocol`` and automatically end when the `operation` completes,
351348
/// including recording the `error` in case the operation throws.
352349
///

Sources/Tracing/TracerProtocol.swift

-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import Dispatch
2525
/// A tracer is a special kind of instrument with the added ability to start a ``SpanProtocol``.
2626
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *) // for TaskLocal Baggage
2727
public protocol TracerProtocol: LegacyTracerProtocol {
28-
2928
/// The concrete type of span this tracer will be producing/
3029
associatedtype Span: SpanProtocol
3130

@@ -62,7 +61,6 @@ public protocol TracerProtocol: LegacyTracerProtocol {
6261
file fileID: String,
6362
line: UInt
6463
) -> Self.Span
65-
6664
}
6765

6866
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *) // for TaskLocal Baggage
@@ -223,7 +221,6 @@ extension TracerProtocol {
223221
throw error // rethrow
224222
}
225223
}
226-
227224
}
228225

229226
#endif // Swift 5.7

0 commit comments

Comments
 (0)