Skip to content

Commit d5926bf

Browse files
committed
Run formatting after swift-format changes
1 parent 6b630e1 commit d5926bf

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

Sources/SemanticIndex/PreparationTaskDescription.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,10 @@ package struct PreparationTaskDescription: IndexTaskDescription {
6363
targetsToPrepare: [BuildTargetIdentifier],
6464
buildSystemManager: BuildSystemManager,
6565
preparationUpToDateTracker: UpToDateTracker<BuildTargetIdentifier, DummySecondaryKey>,
66-
logMessageToIndexLog: @escaping @Sendable (
67-
_ message: String, _ type: WindowMessageType, _ structure: StructuredLogKind
68-
) -> Void,
66+
logMessageToIndexLog:
67+
@escaping @Sendable (
68+
_ message: String, _ type: WindowMessageType, _ structure: StructuredLogKind
69+
) -> Void,
6970
hooks: IndexHooks
7071
) {
7172
self.targetsToPrepare = targetsToPrepare

Sources/SemanticIndex/SemanticIndexManager.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,10 @@ package final actor SemanticIndexManager {
261261
updateIndexStoreTimeout: Duration,
262262
hooks: IndexHooks,
263263
indexTaskScheduler: TaskScheduler<AnyIndexTaskDescription>,
264-
logMessageToIndexLog: @escaping @Sendable (
265-
_ message: String, _ type: WindowMessageType, _ structure: StructuredLogKind
266-
) -> Void,
264+
logMessageToIndexLog:
265+
@escaping @Sendable (
266+
_ message: String, _ type: WindowMessageType, _ structure: StructuredLogKind
267+
) -> Void,
267268
indexTasksWereScheduled: @escaping @Sendable (Int) -> Void,
268269
indexProgressStatusDidChange: @escaping @Sendable () -> Void
269270
) {

Sources/SemanticIndex/UpdateIndexStoreTaskDescription.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,10 @@ package struct UpdateIndexStoreTaskDescription: IndexTaskDescription {
146146
index: UncheckedIndex,
147147
indexStoreUpToDateTracker: UpToDateTracker<DocumentURI, BuildTargetIdentifier>,
148148
indexFilesWithUpToDateUnit: Bool,
149-
logMessageToIndexLog: @escaping @Sendable (
150-
_ message: String, _ type: WindowMessageType, _ structure: StructuredLogKind
151-
) -> Void,
149+
logMessageToIndexLog:
150+
@escaping @Sendable (
151+
_ message: String, _ type: WindowMessageType, _ structure: StructuredLogKind
152+
) -> Void,
152153
timeout: Duration,
153154
hooks: IndexHooks
154155
) {

Sources/SourceKitLSP/SourceKitLSPServer.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -390,9 +390,10 @@ package actor SourceKitLSPServer {
390390

391391
private func handleRequest<RequestType: TextDocumentRequest>(
392392
for request: RequestAndReply<RequestType>,
393-
requestHandler: @Sendable @escaping (
394-
RequestType, Workspace, LanguageService
395-
) async throws ->
393+
requestHandler:
394+
@Sendable @escaping (
395+
RequestType, Workspace, LanguageService
396+
) async throws ->
396397
RequestType.Response
397398
) async {
398399
await request.reply {

0 commit comments

Comments
 (0)