Skip to content

Commit 9a41bf4

Browse files
committed
Make work in Xcode 16.3 (Swift 6.1)
1 parent 6b43a63 commit 9a41bf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DivvunSpell/DivvunSpell.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ public class WordIndices: IteratorProtocol, Sequence {
315315

316316
fileprivate init(_ string: String) {
317317
self.string = string.cString(using: .utf8)!
318-
self.handle = divvun_word_indices(&self.string)
318+
self.handle = divvun_word_indices(self.string)
319319
}
320320

321321
public func next() -> (UInt64, String)? {

0 commit comments

Comments
 (0)