Skip to content

Commit 0448e14

Browse files
committed
Remove warnings
1 parent e3237f7 commit 0448e14

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Core/Sources/Service/RealtimeSuggestionController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class RealtimeSuggestionController {
3535

3636
if let app = ActiveApplicationMonitor.activeXcode {
3737
await self?.handleXcodeChanged(app)
38-
await startHIDObservation(by: 1)
38+
await self?.startHIDObservation(by: 1)
3939
}
4040
var previousApp = ActiveApplicationMonitor.activeXcode
4141
for await app in ActiveApplicationMonitor.createStream() {

Core/Sources/Service/XPCService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Logger
77
import Preferences
88
import XPCShared
99

10-
@globalActor enum ServiceActor {
10+
@globalActor public enum ServiceActor {
1111
public actor TheActor {}
1212
public static let shared = TheActor()
1313
}

Core/Sources/XPCShared/Models.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public struct UpdatedContent: Codable {
6060

6161
func selectedCode(in selection: EditorContent.Selection, for lines: [String]) -> String {
6262
let startPosition = selection.start
63-
var endPosition = CursorPosition(
63+
let endPosition = CursorPosition(
6464
line: selection.end.line,
6565
character: selection.end.character - 1
6666
)

0 commit comments

Comments
 (0)