Skip to content

Commit

Permalink
added missing public
Browse files Browse the repository at this point in the history
  • Loading branch information
gdetari committed Sep 28, 2024
1 parent c914f51 commit cbc7d24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/SymSpellSwift/SuggestItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
import Foundation

public struct SuggestItem: Comparable, Hashable {
var term = ""
var distance = 0
var count = 0
public var term = ""
public var distance = 0
public var count = 0

public static func < (lhs: SuggestItem, rhs: SuggestItem) -> Bool {
lhs.distance == rhs.distance ? lhs.count > rhs.count: lhs.distance < rhs.distance
Expand Down

0 comments on commit cbc7d24

Please sign in to comment.