Skip to main content

dedupe_by

Function dedupe_by 

Source
pub fn dedupe_by(
    texts: impl IntoIterator<Item = String>,
    same: impl Fn(&str, &str) -> bool,
) -> Vec<String>
Expand description

Collapse texts under a caller supplied notion of sameness.