We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31f5588 commit 2857e57Copy full SHA for 2857e57
Sources/DiffableTextStylesXNumeric/Helpers/Search.swift
@@ -17,6 +17,11 @@ import DiffableTextKit
17
@usableFromInline enum Search<Haystack, Needle> where
18
Haystack: BidirectionalCollection, Haystack.Element == Symbol,
19
Needle: BidirectionalCollection, Needle.Element == Character {
20
+
21
+ //=------------------------------------------------------------------------=
22
+ // MARK: Aliases
23
24
25
@usableFromInline typealias Location = Range<Haystack.Index>
26
@usableFromInline typealias Reversed = Search<ReversedCollection<Haystack>, ReversedCollection<Needle>>
27
0 commit comments