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