Debian Codegraph @

README.md

raw symbols SCIP
1 # minspan
2
3 This is a tiny crate to find the minimal bounds of a string within another one.
4 The needle must be found in its entirety within the haystack, but there may be
5 any number of intervening characters that are just chaff. This is useful for
6 applications like fuzzy-completers, where a shorter match is generally preferable
7 ("curl" matches "curl https://rust-lang.org" better than it matches "colossally
8 urban lapidarians").
9
10 The interface is small but under flux, it's possible that a slice is a better
11 return value than bare integer indices.