fn matching_links<'a>(
    links: &'a NodeList,
    link_text: String,
    partial: bool
) -> impl Iterator<Item = String> + 'a