Skip to content

Commit fc6d007

Browse files
authored
Re-format Swift code 💅 (#102)
1 parent b087d50 commit fc6d007

File tree

5 files changed

+0
-7
lines changed

5 files changed

+0
-7
lines changed

Sources/Instrumentation/Instrument.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,3 @@ public protocol Instrument {
6666
Injector: InjectorProtocol,
6767
Injector.Carrier == Carrier
6868
}
69-

Sources/Instrumentation/InstrumentationSystem.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ public enum InstrumentationSystem {
7777
public static func instrument<I>(of instrumentType: I.Type) -> I? where I: Instrument {
7878
self._findInstrument(where: { $0 is I }) as? I
7979
}
80-
8180
}
8281

8382
extension InstrumentationSystem {

Sources/Instrumentation/NoOpInstrument.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import Baggage
1515

1616
/// A "no op" implementation of an `Instrument`.
1717
public struct NoOpInstrument: Instrument {
18-
1918
public init() {}
2019

2120
public func inject<Carrier, Injector>(_ baggage: BaggageContext, into carrier: inout Carrier, using injector: Injector)

Sources/TracingInstrumentation/InstrumentationSystem+Tracing.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
import Baggage
1515
import Instrumentation
1616

17-
1817
extension InstrumentationSystem {
19-
2018
/// Get a `TracingInstrument` instance of the given type.
2119
///
2220
/// When using `MultiplexInstrument`, this returns the first instance of the given type stored in the `MultiplexInstrument`.

Tests/TracingInstrumentationTests/TracingInstrumentTests.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ final class TracingInstrumentTests: XCTestCase {
4848

4949
XCTAssert(InstrumentationSystem.tracingInstrument(of: JaegerTracer.self) === tracer)
5050
XCTAssert(InstrumentationSystem.tracingInstrument is JaegerTracer)
51-
52-
5351
}
5452
}
5553

0 commit comments

Comments
 (0)