mirror of
https://github.com/mii443/AzooKeyKanaKanjiConverter.git
synced 2025-12-03 11:08:33 +00:00
remove swift 5.9 syntax
This commit is contained in:
@@ -24,7 +24,8 @@ public struct PredictionCandidate {
|
|||||||
public var type: PredictionType
|
public var type: PredictionType
|
||||||
public var isTerminal: Bool
|
public var isTerminal: Bool
|
||||||
|
|
||||||
public func join(to candidate: consuming Candidate) -> Candidate {
|
public func join(to candidate: Candidate) -> Candidate {
|
||||||
|
var candidate = candidate
|
||||||
switch self.type {
|
switch self.type {
|
||||||
case .additional(let data):
|
case .additional(let data):
|
||||||
for data in data {
|
for data in data {
|
||||||
|
|||||||
Reference in New Issue
Block a user