Skip to content

Commit

Permalink
Using some for future ChimeKit compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Jul 11, 2024
1 parent eabcffd commit 33172e6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Sources/ChimeRust/RustExtension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ public final class RustExtension {
private let lspService: LSPService

public init(host: any HostProtocol) {
self.lspService = LSPService(host: host,
executableName: "rust-analyzer")
self.lspService = LSPService(
host: host,
executableName: "rust-analyzer"
)
}
}

Expand All @@ -20,7 +22,7 @@ extension RustExtension: ExtensionProtocol {
}
}

public var applicationService: ApplicationService {
return lspService
public var applicationService: some ApplicationService {
lspService
}
}

0 comments on commit 33172e6

Please sign in to comment.