Skip to main content

add_replacement_with_haystack

Function add_replacement_with_haystack 

Source
pub fn add_replacement_with_haystack(
    search_result: SearchResult,
    search: &SearchType,
    replace: &str,
    haystack: Option<&str>,
) -> Option<SearchResultWithReplacement>