fst icon indicating copy to clipboard operation
fst copied to clipboard

automaton: generalize Str and Subsequence to AsRef<[u8]>

Open mcuelenaere opened this issue 3 years ago • 0 comments

Previously, Str and Subsequence only accepted &[u8]. This makes it impossible for callers to transfer ownership of the underlying data, eg if they have a Vec that they cannot keep hold of themselves.

mcuelenaere avatar Feb 19 '22 13:02 mcuelenaere