Skip to content

Commit d1a7561

Browse files
committed
cleaning up the formatting
1 parent f60b657 commit d1a7561

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/ServiceLifecycle/AsyncCancelOnGracefulShutdownSequence.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ where Base.Element: Sendable {
5555
AsyncGracefulShutdownSequence().mapNil().map { _ in .gracefulShutdown }
5656
)
5757
}
58-
58+
5959
/// Creates an iterator for the sequence.
6060
@inlinable
6161
public func makeAsyncIterator() -> AsyncIterator {
6262
AsyncIterator(iterator: self._merge.makeAsyncIterator())
6363
}
64-
64+
6565
/// An iterator for an asynchronous sequence that cancels after graceful shutdown is triggered.
6666
public struct AsyncIterator: AsyncIteratorProtocol {
6767
@usableFromInline
@@ -74,7 +74,7 @@ where Base.Element: Sendable {
7474
init(iterator: Merged.AsyncIterator) {
7575
self._iterator = iterator
7676
}
77-
77+
7878
/// Returns the next item in the sequence, or `nil` if the sequence is finished.
7979
@inlinable
8080
public mutating func next() async rethrows -> Element? {

Sources/ServiceLifecycle/ServiceRunnerError.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public struct ServiceGroupError: Error, Hashable, Sendable {
2727
private init(code: _Code) {
2828
self.code = code
2929
}
30-
30+
3131
/// A string representation of a service group error.
3232
public var description: String {
3333
switch self.code {

0 commit comments

Comments
 (0)