pub fn closest<'f>(
features: &'f [FeatureRef],
name: &str,
) -> Option<&'f FeatureRef>Expand description
The feature whose name is nearest to name (edit distance over the
part after the numeric prefix), if any is reasonably near.
pub fn closest<'f>(
features: &'f [FeatureRef],
name: &str,
) -> Option<&'f FeatureRef>The feature whose name is nearest to name (edit distance over the
part after the numeric prefix), if any is reasonably near.